X Tutup
Skip to content

Commit dd2d2ce

Browse files
authored
Merge pull request #16 from come-nc/patch-1
readdir may return false
2 parents 6e347e4 + f4cf0eb commit dd2d2ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DirectoryWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function dir_opendir($path, $options) {
2323
}
2424

2525
/**
26-
* @return string
26+
* @return string|false
2727
*/
2828
public function dir_readdir() {
2929
return readdir($this->source);

0 commit comments

Comments
 (0)
X Tutup