@@ -3,7 +3,7 @@ |
||
| 3 | 3 | * Same configuration as Laravel 5.2: |
| 4 | 4 | * See https://github.com/laravel/framework/blob/5.2/src/Illuminate/Auth/Console/stubs/make/routes.stub |
| 5 | 5 | */ |
| 6 | -Route::group(['middleware' => 'web'], function () { |
|
| 6 | +Route::group([ 'middleware' => 'web' ], function() { |
|
| 7 | 7 | Route::auth(); |
| 8 | 8 | |
| 9 | 9 | Route::get('/home', 'HomeController@index'); |
@@ -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 |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | - * @param $fileName |
|
| 38 | + * @param string $fileName |
|
| 39 | 39 | * @param string $prompt |
| 40 | 40 | * |
| 41 | 41 | * @return bool |
@@ -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'); |
@@ -4,9 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Illuminate\Console\Command; |
| 6 | 6 | use Illuminate\Filesystem\Filesystem; |
| 7 | -use League\Flysystem\Adapter\Local as LocalAdapter; |
|
| 8 | -use League\Flysystem\Filesystem as Flysystem; |
|
| 9 | -use League\Flysystem\MountManager; |
|
| 10 | 7 | |
| 11 | 8 | /** |
| 12 | 9 | * Class PublishAdminLTESidebar. |
@@ -26,13 +26,13 @@ discard block |
||
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | if ($this->app->runningInConsole()) { |
| 29 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTE::class]); |
|
| 30 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTEAlt::class]); |
|
| 31 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebar::class]); |
|
| 32 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebarAlt::class]); |
|
| 29 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTE::class ]); |
|
| 30 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTEAlt::class ]); |
|
| 31 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebar::class ]); |
|
| 32 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebarAlt::class ]); |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | - $this->app->bind('AdminLTE', function () { |
|
| 35 | + $this->app->bind('AdminLTE', function() { |
|
| 36 | 36 | return new \Acacha\AdminLTETemplateLaravel\AdminLTE(); |
| 37 | 37 | }); |
| 38 | 38 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | if (!$this->app->routesAreCached()) { |
| 72 | 72 | $router = app('router'); |
| 73 | 73 | |
| 74 | - $router->group(['namespace' => $this->getAppNamespace().'Http\Controllers'], function () { |
|
| 74 | + $router->group([ 'namespace' => $this->getAppNamespace().'Http\Controllers' ], function() { |
|
| 75 | 75 | require __DIR__.'/../Http/routes.php'; |
| 76 | 76 | }); |
| 77 | 77 | } |