@@ -29,11 +29,11 @@ |
||
29 | 29 | // parameter represents the DataTables column identifier. In this case simple |
30 | 30 | // indexes |
31 | 31 | $columns = [ |
32 | - ['db' => 'id', 'dt' => 0], |
|
33 | - ['db' => 'firstname', 'dt' => 1], |
|
34 | - ['db' => 'surname', 'dt' => 2], |
|
35 | - ['db' => 'zip', 'dt' => 3], |
|
36 | - ['db' => 'country', 'dt' => 4], |
|
32 | + [ 'db' => 'id', 'dt' => 0 ], |
|
33 | + [ 'db' => 'firstname', 'dt' => 1 ], |
|
34 | + [ 'db' => 'surname', 'dt' => 2 ], |
|
35 | + [ 'db' => 'zip', 'dt' => 3 ], |
|
36 | + [ 'db' => 'country', 'dt' => 4 ], |
|
37 | 37 | ]; |
38 | 38 | |
39 | 39 | // SQL server connection information |
@@ -239,8 +239,8 @@ |
||
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'); |