Completed
Push — master ( 02f3fd...80e850 )
by Sergi Tur
02:49
created
src/Console/PublishAdminLTE.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
      */
168 168
     protected function createParentDirectory($directory)
169 169
     {
170
-        if (! $this->files->isDirectory($directory)) {
170
+        if (!$this->files->isDirectory($directory)) {
171 171
             $this->files->makeDirectory($directory, 0755, true);
172 172
         }
173 173
     }
@@ -200,8 +200,8 @@  discard block
 block discarded – undo
200 200
             'to' => new Flysystem(new LocalAdapter($to)),
201 201
         ]);
202 202
         foreach ($manager->listContents('from://', true) as $file) {
203
-            if ($file['type'] === 'file' && (! $manager->has('to://'.$file['path']) )) {
204
-                $manager->put('to://'.$file['path'], $manager->read('from://'.$file['path']));
203
+            if ($file[ 'type' ] === 'file' && (!$manager->has('to://'.$file[ 'path' ]))) {
204
+                $manager->put('to://'.$file[ 'path' ], $manager->read('from://'.$file[ 'path' ]));
205 205
             }
206 206
         }
207 207
         $this->status($from, $to, 'Directory');
Please login to merge, or discard this patch.