Skip to content

Commit f7983db

Browse files
committed
added a comment about a workaround
1 parent fd6f127 commit f7983db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Iterator/RecursiveDirectoryIterator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ public function isRewindable()
137137
return $this->rewindable;
138138
}
139139

140+
// workaround for an HHVM bug, should be removed when https://github.com/facebook/hhvm/issues/7281 is fixed
140141
if ('' === $this->getPath()) {
141142
return $this->rewindable = false;
142143
}

0 commit comments

Comments
 (0)