Skip to content

Commit f6ebf85

Browse files
[Intl] fix return type declarations
1 parent 1b9eee9 commit f6ebf85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DateFormatter/IntlDateFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ public function localtime($value, &$position = 0)
415415
* contain -1 otherwise it will contain the position at which parsing
416416
* ended. If $parse_pos > strlen($value), the parse fails immediately.
417417
*
418-
* @return int Parsed value as a timestamp
418+
* @return int|false Parsed value as a timestamp
419419
*
420420
* @see https://php.net/intldateformatter.parse
421421
*

0 commit comments

Comments
 (0)