DirectoryIterator: Fix Variable '$path' is probably undefined

This commit is contained in:
Sukhwinder Dhillon 2023-08-16 09:57:05 +02:00 committed by raviks789
parent bdddb88164
commit d8fe09f368

View File

@ -140,6 +140,7 @@ class DirectoryIterator implements RecursiveIterator
public function next(): void
{
$path = null;
do {
$this->files->next();
$skip = false;