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 47b17eb commit e5bf0abCopy full SHA for e5bf0ab
src/Symfony/Component/Finder/Adapter/PhpAdapter.php
@@ -68,15 +68,15 @@ public function searchInDirectory($dir)
68
$iterator = new Iterator\CustomFilterIterator($iterator, $this->filters);
69
}
70
71
+ if ($this->paths || $this->notPaths) {
72
+ $iterator = new Iterator\PathFilterIterator($iterator, $this->paths, $this->notPaths);
73
+ }
74
+
75
if ($this->sort) {
76
$iteratorAggregate = new Iterator\SortableIterator($iterator, $this->sort);
77
$iterator = $iteratorAggregate->getIterator();
78
79
- if ($this->paths || $this->notPaths) {
- $iterator = new Iterator\PathFilterIterator($iterator, $this->paths, $this->notPaths);
- }
-
80
return $iterator;
81
82
0 commit comments