diff options
author | Urban Müller | 2016-10-19 14:49:06 +0200 |
---|---|---|
committer | Urban Müller | 2016-10-19 14:49:06 +0200 |
commit | edc1481438baf32e26fe7331cc752a7ea51576cb (patch) | |
tree | ff7b28a8cad31effbbb5da6e2591c00729027acf | |
parent | af7fd520a0b3731201089f63cdf30554b2310167 (diff) | |
download | itools-edc1481438baf32e26fe7331cc752a7ea51576cb.tar.gz itools-edc1481438baf32e26fe7331cc752a7ea51576cb.tar.bz2 itools-edc1481438baf32e26fe7331cc752a7ea51576cb.zip |
fix phan warnings
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -892,7 +892,7 @@ static function gets() /** * Like time() but overridable via debug param */ -function time() +static function time() { return ($t = EDC('time')) ? strtotime(rtrim(it::replace(array('(\d\d\d\d)-(\d\d)-(\d\d)-(\d\d)-(\d\d)(-(\d\d))?' => '$1-$2-$3 $4:$5:$7', '^(\d\d)-(\d\d)(-(\d\d))?' => 'today $1:$2:$4'), $t), ":")) : time(); } |