Skip to content

Fix Normalizer's normalize method can return false#403

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
TRowbotham:fix-normalizer-normalize-return-type
Dec 9, 2020
Merged

Fix Normalizer's normalize method can return false#403
ondrejmirtes merged 1 commit intophpstan:masterfrom
TRowbotham:fix-normalizer-normalize-return-type

Conversation

@TRowbotham
Copy link
Contributor

Normalizing a string can return false if an error occurs during normalization. This updates the signature to match the PHP docs, PHP stubs, and PhpStorm stubs.

@ondrejmirtes
Copy link
Member

Thank you!

@ondrejmirtes ondrejmirtes merged commit ccd6f88 into phpstan:master Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants