@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | protected function getArguments() |
72 | 72 | { |
73 | 73 | return [ |
74 | - ['name', InputArgument::REQUIRED, 'The name of the service'], |
|
74 | + [ 'name', InputArgument::REQUIRED, 'The name of the service' ], |
|
75 | 75 | ]; |
76 | 76 | } |
77 | 77 | |
@@ -83,8 +83,8 @@ discard block |
||
83 | 83 | protected function getOptions() |
84 | 84 | { |
85 | 85 | return [ |
86 | - ['resource', 'r', InputOption::VALUE_NONE, 'Generate a service for resource controller class.'], |
|
87 | - ['static', 's', InputOption::VALUE_NONE, 'Generate a static service.'], |
|
86 | + [ 'resource', 'r', InputOption::VALUE_NONE, 'Generate a service for resource controller class.' ], |
|
87 | + [ 'static', 's', InputOption::VALUE_NONE, 'Generate a static service.' ], |
|
88 | 88 | ]; |
89 | 89 | } |
90 | 90 | } |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | $this->setModel(); |
21 | 21 | |
22 | - if (!$this->model || !class_exists($this->model)) { |
|
22 | + if ( ! $this->model || ! class_exists($this->model)) { |
|
23 | 23 | throw new ModelNotFoundException(); |
24 | 24 | } |
25 | 25 | } |