Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #430 Update return type for
IntlDateFormatter::format()
(mbab…
…ker) This PR was merged into the 1.28-dev branch. Discussion ---------- Update return type for `IntlDateFormatter::format()` Since PHP 8.0.0, the method is documented as having a `string|false` return (see https://github.com/php/php-src/blob/php-8.0.0/ext/intl/dateformat/dateformat.stub.php#L99-L104), this updates the polyfill to match the native signature which can help avoid static analysis issues where the polyfill has a wider return type than the native implementation. Commits ------- ae54993 Update return type for `IntlDateFormatter::format()`
- Loading branch information