X Tutup
Skip to content

Commit f4cf0eb

Browse files
authored
readdir may return false
The return type for dir_readdir() was incomplete
1 parent 6e347e4 commit f4cf0eb

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