Completed
Push — master ( 043413...7c943a )
by Mārtiņš
01:36
created
src/MessageExtractor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      */
87 87
     public function resolvePathnames(array $items): array
88 88
     {
89
-        return array_reduce($items, function (&$carry, ScanItem $item) {
89
+        return array_reduce($items, function(&$carry, ScanItem $item) {
90 90
             $carry = array_merge($carry, $this->resolveSingleItemFiles($item));
91 91
             return $carry;
92 92
         }, []);
@@ -128,12 +128,12 @@  discard block
 block discarded – undo
128 128
 
129 129
         // If extensions are set, filter other files out
130 130
         if ($item->extensions) {
131
-            $files = array_filter($files, function ($file) use ($item) {
131
+            $files = array_filter($files, function($file) use ($item) {
132 132
                 return in_array($file['extension'], $item->extensions);
133 133
             });
134 134
         }
135 135
 
136
-        return array_map(function ($file) use ($dir) {
136
+        return array_map(function($file) use ($dir) {
137 137
             return $dir . DIRECTORY_SEPARATOR . $file['path'];
138 138
         }, $files);
139 139
     }
Please login to merge, or discard this patch.