1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix #119 - strtotime can return false

This commit is contained in:
Matt Brown 2017-03-30 11:02:59 -04:00
parent a89018d9ae
commit fe54318432

View File

@ -9084,7 +9084,7 @@ return [
'strtok\'1' => ['string|bool', 'token'=>'string'],
'strtok' => ['string|bool', 'str'=>'string', 'token'=>'string'],
'strtolower' => ['string', 'str'=>'string'],
'strtotime' => ['int', 'time'=>'string', 'now='=>'int'],
'strtotime' => ['int|false', 'time'=>'string', 'now='=>'int'],
'strtoupper' => ['string', 'str'=>'string'],
'strtr\'1' => ['string', 'str'=>'string', 'replace_pairs'=>'array'],
'strtr' => ['string', 'str'=>'string', 'from'=>'string', 'to'=>'string'],