Skip to content

Update eio function return type #4124

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

Merged
merged 1 commit into from
Jul 21, 2025
Merged

Conversation

VincentLanglet
Copy link
Contributor

All the eio_ function return false on failure.

The description say resource as https://www.php.net/manual/en/function.eio-busy.php#refsect1-function.eio-busy-description
but everytime it's say it can return false on failure
https://www.php.net/manual/en/function.eio-busy.php#refsect1-function.eio-busy-returnvalues

(On the phpstorm-stubs, it was documented resource|bool but I also updated the return type in JetBrains/phpstorm-stubs#1759)

@ondrejmirtes ondrejmirtes merged commit 1768207 into phpstan:2.1.x Jul 21, 2025
415 of 420 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

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