Passed
Push — master ( f18c69...880fb4 )
by Denis
02:32
created
src/Console/ConsoleMakeService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
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
@@ -19,7 +19,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Console/InstallCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
             return;
51 51
         }
52 52
 
53
-        if (!file_exists(app_path('Providers/ServiceLayerServiceProvider.php'))) {
53
+        if ( ! file_exists(app_path('Providers/ServiceLayerServiceProvider.php'))) {
54 54
             throw new \Exception('ServiceLayerServiceProvider not published.');
55 55
         }
56 56
 
Please login to merge, or discard this patch.