Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function chr() always return not empty string #599

Merged
merged 1 commit into from Jul 30, 2021

Conversation

AIlkiv
Copy link
Contributor

@AIlkiv AIlkiv commented Jul 30, 2021

The chr () function always returns a non-empty string. Now the result of the function returns the type String, I changed to return a non-empty string.

Example: https://phpstan.org/r/65a9381f-0a7d-4920-896c-0ce67346d972

@ondrejmirtes
Copy link
Member

Awesome, thank you!

@ondrejmirtes ondrejmirtes merged commit b04e60a into phpstan:master Jul 30, 2021
@AIlkiv AIlkiv deleted the chr-not-empty-string branch July 30, 2021 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants