Completed
Push — master ( ee58ba...a5219d )
by Sergi Tur
02:31
created
src/Console/PublishAdminLTE.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -239,8 +239,8 @@
 block discarded – undo
239 239
             'to'   => new Flysystem(new LocalAdapter($to)),
240 240
         ]);
241 241
         foreach ($manager->listContents('from://', true) as $file) {
242
-            if ($file['type'] === 'file' && (!$manager->has('to://'.$file['path']) || $this->force )) {
243
-                $manager->put('to://'.$file['path'], $manager->read('from://'.$file['path']));
242
+            if ($file[ 'type' ] === 'file' && (!$manager->has('to://'.$file[ 'path' ]) || $this->force)) {
243
+                $manager->put('to://'.$file[ 'path' ], $manager->read('from://'.$file[ 'path' ]));
244 244
             }
245 245
         }
246 246
         $this->status($from, $to, 'Directory');
Please login to merge, or discard this patch.