Passed
Branch master (239b9f)
by Denis
03:07
created
Category
src/Console/ConsoleMakeService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Service.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
     public function __construct()
18 18
     {
19
-        if (!$this->model || !class_exists($this->model)) {
19
+        if ( ! $this->model || ! class_exists($this->model)) {
20 20
             throw new ModelNotFoundException("Model {$this->model} not found.");
21 21
         }
22 22
     }
Please login to merge, or discard this patch.