added a comment about a workaround
This commit is contained in:
parent
23cae581b8
commit
b28cd81575
@ -137,6 +137,7 @@ class RecursiveDirectoryIterator extends \RecursiveDirectoryIterator
|
|||||||
return $this->rewindable;
|
return $this->rewindable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// workaround for an HHVM bug, should be removed when https://github.com/facebook/hhvm/issues/7281 is fixed
|
||||||
if ('' === $this->getPath()) {
|
if ('' === $this->getPath()) {
|
||||||
return $this->rewindable = false;
|
return $this->rewindable = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user