Test Failed
Push — master ( 9f82b3...3c8bc2 )
by Alexey
07:31
created
src/Filesystem/src/Filesystem.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     public function list(string $path = '.', bool $recursive = false): array
88 88
     {
89 89
         return array_map(
90
-            function($item){ return new Metadata($item); },
90
+            function ($item) { return new Metadata($item); },
91 91
             $this->flysystem->listContents($path, $recursive)
92 92
         );
93 93
     }
@@ -98,10 +98,10 @@  discard block
 block discarded – undo
98 98
     public function listDirectories(string $path = '.', bool $recursive = false): array
99 99
     {
100 100
         return array_map(
101
-            function($item){ return new Metadata($item); },
101
+            function ($item) { return new Metadata($item); },
102 102
             array_filter(
103 103
                 $this->flysystem->listContents($path, $recursive),
104
-                function($item){ return $item['type'] === MetadataContract::TYPE_DIR; }
104
+                function ($item) { return $item['type'] === MetadataContract::TYPE_DIR; }
105 105
             )
106 106
         );
107 107
     }
@@ -112,10 +112,10 @@  discard block
 block discarded – undo
112 112
     public function listFiles(string $path = '.', bool $recursive = false): array
113 113
     {
114 114
         return array_map(
115
-            function($item){ return new Metadata($item); },
115
+            function ($item) { return new Metadata($item); },
116 116
             array_filter(
117 117
                 $this->flysystem->listContents($path, $recursive),
118
-                function($item){ return $item['type'] === MetadataContract::TYPE_FILE; }
118
+                function ($item) { return $item['type'] === MetadataContract::TYPE_FILE; }
119 119
             )
120 120
         );
121 121
     }
Please login to merge, or discard this patch.