Completed
Push — master ( 668dc2...02f3fd )
by Sergi Tur
02:42
created
src/Console/PublishAdminLTE.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
                 $this->error("Can't locate path: <{$fileSrc}>");
144 144
             }
145 145
             copy($fileSrc, $fileDst);
146
-            $this->info('Copied file ' . $fileSrc . ' to ' . $fileDst );
146
+            $this->info('Copied file '.$fileSrc.' to '.$fileDst);
147 147
         }
148 148
     }
149 149
 
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
      */
170 170
     protected function createParentDirectory($directory)
171 171
     {
172
-        if (! $this->files->isDirectory($directory)) {
172
+        if (!$this->files->isDirectory($directory)) {
173 173
             $this->files->makeDirectory($directory, 0755, true);
174 174
         }
175 175
     }
@@ -202,8 +202,8 @@  discard block
 block discarded – undo
202 202
             'to' => new Flysystem(new LocalAdapter($to)),
203 203
         ]);
204 204
         foreach ($manager->listContents('from://', true) as $file) {
205
-            if ($file['type'] === 'file' && (! $manager->has('to://'.$file['path']) )) {
206
-                $manager->put('to://'.$file['path'], $manager->read('from://'.$file['path']));
205
+            if ($file[ 'type' ] === 'file' && (!$manager->has('to://'.$file[ 'path' ]))) {
206
+                $manager->put('to://'.$file[ 'path' ], $manager->read('from://'.$file[ 'path' ]));
207 207
             }
208 208
         }
209 209
         $this->status($from, $to, 'Directory');
Please login to merge, or discard this patch.