@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | */ |
29 | 29 | public function resolveFiles(array $items): array |
30 | 30 | { |
31 | - return array_reduce($items, function (&$carry, ScanItem $item) { |
|
31 | + return array_reduce($items, function(&$carry, ScanItem $item) { |
|
32 | 32 | $carry = array_merge($carry, $this->resolveSingleItemFiles($item)); |
33 | 33 | return $carry; |
34 | 34 | }, []); |
@@ -66,12 +66,12 @@ discard block |
||
66 | 66 | |
67 | 67 | // If extensions are set, filter other files out |
68 | 68 | if ($item->extensions) { |
69 | - $files = array_filter($files, function ($file) use ($item) { |
|
69 | + $files = array_filter($files, function($file) use ($item) { |
|
70 | 70 | return in_array($file['extension'], $item->extensions); |
71 | 71 | }); |
72 | 72 | } |
73 | 73 | |
74 | - return array_map(function ($file) use ($dir) { |
|
74 | + return array_map(function($file) use ($dir) { |
|
75 | 75 | return $dir . DIRECTORY_SEPARATOR . $file['path']; |
76 | 76 | }, $files); |
77 | 77 | } |