Merge pull request #16 from come-nc/patch-1

readdir may return false
This commit is contained in:
Robin Appelman 2022-12-13 13:22:29 +01:00 committed by GitHub
commit dd2d2cec9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ class DirectoryWrapper extends Wrapper implements Directory {
}
/**
* @return string
* @return string|false
*/
public function dir_readdir() {
return readdir($this->source);