@@ -247,10 +247,10 @@ |
||
| 247 | 247 | } else { |
| 248 | 248 | throw new \InvalidArgumentException(); |
| 249 | 249 | } |
| 250 | - $fileObjects = array_filter($fileObjects, function ($fileObject) use ($regex) { |
|
| 250 | + $fileObjects = array_filter($fileObjects, function($fileObject) use ($regex) { |
|
| 251 | 251 | return 1 === preg_match($regex, $fileObject->getName()); |
| 252 | 252 | }); |
| 253 | - $normalized = array_map(function ($fileObject) { |
|
| 253 | + $normalized = array_map(function($fileObject) { |
|
| 254 | 254 | return $this->getFileInfo($fileObject); |
| 255 | 255 | }, $fileObjects); |
| 256 | 256 | |