@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | protected function getArguments() |
| 68 | 68 | { |
| 69 | 69 | return [ |
| 70 | - ['name', InputArgument::REQUIRED, 'The name of the service'], |
|
| 70 | + [ 'name', InputArgument::REQUIRED, 'The name of the service' ], |
|
| 71 | 71 | ]; |
| 72 | 72 | } |
| 73 | 73 | |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | protected function getOptions() |
| 80 | 80 | { |
| 81 | 81 | return [ |
| 82 | - ['static', 's', InputOption::VALUE_NONE, 'Generate a static service.'], |
|
| 82 | + [ 'static', 's', InputOption::VALUE_NONE, 'Generate a static service.' ], |
|
| 83 | 83 | ]; |
| 84 | 84 | } |
| 85 | 85 | } |
@@ -50,11 +50,11 @@ |
||
| 50 | 50 | |
| 51 | 51 | $appConfig = file_get_contents(config_path('app.php')); |
| 52 | 52 | |
| 53 | - if (Str::contains($appConfig, $namespace . '\\Providers\\'.self::PROVIDER_NAME.'::class')) { |
|
| 53 | + if (Str::contains($appConfig, $namespace.'\\Providers\\'.self::PROVIDER_NAME.'::class')) { |
|
| 54 | 54 | return; |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - if (!file_exists(app_path('Providers/'.self::PROVIDER_NAME.'.php'))) { |
|
| 57 | + if ( ! file_exists(app_path('Providers/'.self::PROVIDER_NAME.'.php'))) { |
|
| 58 | 58 | throw new \Exception(self::PROVIDER_NAME.' not published.'); |
| 59 | 59 | } |
| 60 | 60 | |