mirror of
https://codeberg.org/icewind/streams.git
synced 2026-06-03 08:34:09 +02:00
readdir may return false
The return type for dir_readdir() was incomplete
This commit is contained in:
parent
6e347e48d4
commit
f4cf0eb13a
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class DirectoryWrapper extends Wrapper implements Directory {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string|false
|
||||||
*/
|
*/
|
||||||
public function dir_readdir() {
|
public function dir_readdir() {
|
||||||
return readdir($this->source);
|
return readdir($this->source);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue