Completed
Pull Request — master (#110)
by Sergi Tur
02:40
created
src/Console/PublishAdminLTE.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -204,8 +204,8 @@
 block discarded – undo
204 204
             'to'   => new Flysystem(new LocalAdapter($to)),
205 205
         ]);
206 206
         foreach ($manager->listContents('from://', true) as $file) {
207
-            if ($file['type'] === 'file' && (!$manager->has('to://'.$file['path']))) {
208
-                $manager->put('to://'.$file['path'], $manager->read('from://'.$file['path']));
207
+            if ($file[ 'type' ] === 'file' && (!$manager->has('to://'.$file[ 'path' ]))) {
208
+                $manager->put('to://'.$file[ 'path' ], $manager->read('from://'.$file[ 'path' ]));
209 209
             }
210 210
         }
211 211
         $this->status($from, $to, 'Directory');
Please login to merge, or discard this patch.