@@ -235,10 +235,10 @@ |
||
| 235 | 235 | } else { |
| 236 | 236 | throw new \InvalidArgumentException(); |
| 237 | 237 | } |
| 238 | - $fileObjects = array_filter($fileObjects, function ($fileObject) use ($directory, $regex) { |
|
| 238 | + $fileObjects = array_filter($fileObjects, function($fileObject) use ($directory, $regex) { |
|
| 239 | 239 | return 1 === preg_match($regex, $fileObject->getName()); |
| 240 | 240 | }); |
| 241 | - $normalized = array_map(function ($fileObject) { |
|
| 241 | + $normalized = array_map(function($fileObject) { |
|
| 242 | 242 | return $this->getFileInfo($fileObject); |
| 243 | 243 | }, $fileObjects); |
| 244 | 244 | |