title: CodeIgniter framework error in common.php file when i upload to cpanel
body: <p>It works fine in localhost but when i upload to cpanel it show this error.</p>
  <p>Parse error: syntax error, unexpected ':', expecting '{' in /home/mydomain/inventory.mydomain.com/system/Common.php on line 45</p>
  <p>in line 45 have a app_timezone method</p>
  <pre><code>function app_timezone(): string
  {
      $config = config(App::class);
      return $config-&gt;appTimezone;
  }
  </code></pre>
  <p>Please help me to solve this problem.</p>
  <p><strong>Thanks in advance.</strong></p>