From 523e9b9feb0cedbcad93a9e4c546d49b7a5c8f86 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sat, 24 Aug 2019 18:03:15 +0200 Subject: [PATCH] [Intl] fix return type declarations --- src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php b/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php index 57a4d99120..59b0db05fd 100644 --- a/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php +++ b/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php @@ -415,7 +415,7 @@ class IntlDateFormatter * contain -1 otherwise it will contain the position at which parsing * ended. If $parse_pos > strlen($value), the parse fails immediately. * - * @return int Parsed value as a timestamp + * @return int|false Parsed value as a timestamp * * @see https://php.net/intldateformatter.parse *