Test Setup Failed
Branch master (4ad981)
by Filippo
04:50
created
Category
src/ChunksManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     public function chunks(string $folder): Collection
179 179
     {
180 180
         return collect($this->chunksFilesystem()->files($folder))
181
-            ->map(function ($path) use ($folder) {
181
+            ->map(function($path) use ($folder) {
182 182
                 $filename = str_replace($folder.DIRECTORY_SEPARATOR, '', $path);
183 183
                 $exploded_name = explode('_', $filename);
184 184
                 $index = array_shift($exploded_name);
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
                     'index' => intval($index),
188 188
                     'path'  => $path,
189 189
                 ];
190
-            })->sortBy(function ($item) {
190
+            })->sortBy(function($item) {
191 191
                 return $item['index'];
192 192
             });
193 193
     }
Please login to merge, or discard this patch.
src/ChunkyServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function register()
32 32
     {
33
-        $this->app->singleton('chunky', function (Container $app) {
33
+        $this->app->singleton('chunky', function(Container $app) {
34 34
             $settings = new ChunkySettings(
35 35
                 $app->make('config')
36 36
             );
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             );
42 42
         });
43 43
 
44
-        $this->app->singleton(StrategyFactoryContract::class, function (Container $app) {
44
+        $this->app->singleton(StrategyFactoryContract::class, function(Container $app) {
45 45
             return new StrategyFactory(
46 46
                 $app->make('config')->get('chunky.strategies')
47 47
             );
Please login to merge, or discard this patch.
src/Strategies/MergeStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     {
46 46
         return $this->chunks(
47 47
             $this->folder
48
-        )->map(function ($chunk) {
48
+        )->map(function($chunk) {
49 49
             return $chunk['path'];
50 50
         })->toArray();
51 51
     }
Please login to merge, or discard this patch.