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.
1 parent 81e9713 commit 695e341Copy full SHA for 695e341
src/Symfony/Component/Finder/Iterator/RecursiveDirectoryIterator.php
@@ -137,6 +137,10 @@ public function isRewindable()
137
return $this->rewindable;
138
}
139
140
+ if ('' === $this->getPath()) {
141
+ return $this->rewindable = false;
142
+ }
143
+
144
if (false !== $stream = @opendir($this->getPath())) {
145
$infos = stream_get_meta_data($stream);
146
closedir($stream);
0 commit comments