@@ -12,14 +12,14 @@ |
||
| 12 | 12 | if (strpos($rootPath, '*') !== false || strpos($rootPath, '?') !== false) { |
| 13 | 13 | $paths = $this->collectGlobs($rootPath, $pattern); |
| 14 | 14 | |
| 15 | - return array_filter($paths, function ($item) { |
|
| 15 | + return array_filter($paths, function($item) { |
|
| 16 | 16 | return is_file($item); |
| 17 | 17 | }); |
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | $paths = $this->collectPathsRecursively($rootPath, $pattern); |
| 21 | 21 | |
| 22 | - return array_filter($paths, function ($item) { |
|
| 22 | + return array_filter($paths, function($item) { |
|
| 23 | 23 | return is_file($item); |
| 24 | 24 | }); |
| 25 | 25 | } |