@@ -23,10 +23,10 @@ discard block |
||
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | if ($this->app->runningInConsole()) { |
| 26 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTE::class]); |
|
| 26 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTE::class ]); |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | - $this->app->bind('AdminLTE', function () { |
|
| 29 | + $this->app->bind('AdminLTE', function() { |
|
| 30 | 30 | return new \Acacha\AdminLTETemplateLaravel\AdminLTE(); |
| 31 | 31 | }); |
| 32 | 32 | } |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | if (!$this->app->routesAreCached()) { |
| 54 | 54 | $router = app('router'); |
| 55 | 55 | |
| 56 | - $router->group(['namespace' => $this->getAppNamespace().'Http\Controllers'], function () { |
|
| 56 | + $router->group([ 'namespace' => $this->getAppNamespace().'Http\Controllers' ], function() { |
|
| 57 | 57 | require __DIR__.'/../Http/routes.php'; |
| 58 | 58 | }); |
| 59 | 59 | } |
@@ -118,10 +118,10 @@ |
||
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | /** |
| 121 | - * @param $fileName |
|
| 121 | + * @param string $fileName |
|
| 122 | 122 | * @param string $prompt |
| 123 | 123 | * |
| 124 | - * @return bool |
|
| 124 | + * @return string |
|
| 125 | 125 | */ |
| 126 | 126 | protected function confirmOverwrite($fileName, $prompt = '') |
| 127 | 127 | { |
@@ -113,7 +113,7 @@ |
||
| 113 | 113 | return; |
| 114 | 114 | } |
| 115 | 115 | copy($fileSrc, $fileDst); |
| 116 | - $this->info('Copied file ' . $fileSrc . ' to ' . $fileDst ); |
|
| 116 | + $this->info('Copied file '.$fileSrc.' to '.$fileDst); |
|
| 117 | 117 | } |
| 118 | 118 | } |
| 119 | 119 | |