We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Affected page
https://www.php.net/manual/en/class.streamwrapper.php and https://www.php.net/manual/en/streamwrapper.dir-readdir.php
Issue description
Return type says string but it should be string|false. You can see this in the description of return value false if there is no next file..
string
string|false
false if there is no next file.
Steps to reproduce
Read the pages and be confused.
Suggested fix
Change return type to string|false and check if there are more of such cases.
The text was updated successfully, but these errors were encountered:
Fix phpGH-4635: Issue with streamWrapper::dir_readdir
fea8c28
1fa2e2a
Fix GH-4635: Issue with streamWrapper::dir_readdir
e652ed9
nielsdos
Successfully merging a pull request may close this issue.
Affected page
https://www.php.net/manual/en/class.streamwrapper.php
and https://www.php.net/manual/en/streamwrapper.dir-readdir.php
Issue description
Return type says
string
but it should bestring|false
. You can see this in the description of return valuefalse if there is no next file.
.Steps to reproduce
Read the pages and be confused.
Suggested fix
Change return type to
string|false
and check if there are more of such cases.The text was updated successfully, but these errors were encountered: