Skip to content

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

2 participants