DirectoryIterator: Fix `Variable '$path' is probably undefined`
This commit is contained in:
parent
bdddb88164
commit
d8fe09f368
|
@ -140,6 +140,7 @@ class DirectoryIterator implements RecursiveIterator
|
|||
|
||||
public function next(): void
|
||||
{
|
||||
$path = null;
|
||||
do {
|
||||
$this->files->next();
|
||||
$skip = false;
|
||||
|
|
Loading…
Reference in New Issue