We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e1a4ba + c7eeb32 commit 64da8d9Copy full SHA for 64da8d9
Iterator/RecursiveDirectoryIterator.php
@@ -132,11 +132,6 @@ public function isRewindable()
132
return $this->rewindable;
133
}
134
135
- // workaround for an HHVM bug, should be removed when https://github.com/facebook/hhvm/issues/7281 is fixed
136
- if ('' === $this->getPath()) {
137
- return $this->rewindable = false;
138
- }
139
-
140
if (false !== $stream = @opendir($this->getPath())) {
141
$infos = stream_get_meta_data($stream);
142
closedir($stream);
0 commit comments