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 64c7095 commit da67f5dCopy full SHA for da67f5d
src/Symfony/Component/Finder/Finder.php
@@ -661,7 +661,7 @@ public function in($dirs)
661
foreach ((array) $dirs as $dir) {
662
if (is_dir($dir)) {
663
$resolvedDirs[] = $dir;
664
- } elseif ($glob = glob($dir, GLOB_ONLYDIR)) {
+ } elseif ($glob = glob($dir, GLOB_BRACE | GLOB_ONLYDIR)) {
665
$resolvedDirs = array_merge($resolvedDirs, $glob);
666
} else {
667
throw new \InvalidArgumentException(sprintf('The "%s" directory does not exist.', $dir));
0 commit comments