@@ -204,8 +204,8 @@ |
||
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'); |