Completed
Push — master ( 511bc8...d8cbcc )
by Mārtiņš
02:35 queued 36s
created
src/TranslationScanner.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.