@@ -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 | - ['resource', 'r', InputOption::VALUE_NONE, 'Generate a service for resource controller class.'], |
|
| 82 | + [ 'resource', 'r', InputOption::VALUE_NONE, 'Generate a service for resource controller class.' ], |
|
| 83 | 83 | ]; |
| 84 | 84 | } |
| 85 | 85 | } |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | { |
| 19 | 19 | $this->setModel(); |
| 20 | 20 | |
| 21 | - if (!$this->model || !class_exists($this->model)) { |
|
| 21 | + if ( ! $this->model || ! class_exists($this->model)) { |
|
| 22 | 22 | throw new ModelNotFoundException("Model {$this->model} not found."); |
| 23 | 23 | } |
| 24 | 24 | } |