mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Added missing keyword
This commit is contained in:
parent
10a4b87979
commit
061483d03e
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ class CakeTime {
|
|||
* If null it tries to get timezone from 'Config.timezone' config var
|
||||
* @return DateTimeZone Timezone object
|
||||
*/
|
||||
public function timezone($timezone = null) {
|
||||
public static function timezone($timezone = null) {
|
||||
static $tz = null;
|
||||
|
||||
if (is_object($timezone)) {
|
||||
|
|
Loading…
Reference in a new issue