Completed
Pull Request — master (#1811)
by
unknown
06:50
created
src/Commands/Make/ResourceMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 
60 60
         $resourcePath = GenerateConfigReader::read('resource');
61 61
 
62
-        return $path . $resourcePath->getPath() . '/' . $this->getFileName() . '.php';
62
+        return $path.$resourcePath->getPath().'/'.$this->getFileName().'.php';
63 63
     }
64 64
 
65 65
     private function getFileName(): string
Please login to merge, or discard this patch.
src/Commands/Make/MiddlewareMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 
69 69
         $middlewarePath = GenerateConfigReader::read('filter');
70 70
 
71
-        return $path . $middlewarePath->getPath() . '/' . $this->getFileName() . '.php';
71
+        return $path.$middlewarePath->getPath().'/'.$this->getFileName().'.php';
72 72
     }
73 73
 
74 74
     private function getFileName(): string
Please login to merge, or discard this patch.
src/Commands/Make/NotificationMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 
61 61
         $notificationPath = GenerateConfigReader::read('notifications');
62 62
 
63
-        return $path . $notificationPath->getPath() . '/' . $this->getFileName() . '.php';
63
+        return $path.$notificationPath->getPath().'/'.$this->getFileName().'.php';
64 64
     }
65 65
 
66 66
     private function getFileName(): string
Please login to merge, or discard this patch.
src/Commands/Make/ComponentViewMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,11 +60,11 @@
 block discarded – undo
60 60
         $path = $this->laravel['modules']->getModulePath($this->getModuleName());
61 61
         $factoryPath = GenerateConfigReader::read('component-view');
62 62
 
63
-        return $path . $factoryPath->getPath() . '/' . $this->getFileName();
63
+        return $path.$factoryPath->getPath().'/'.$this->getFileName();
64 64
     }
65 65
 
66 66
     private function getFileName(): string
67 67
     {
68
-        return Str::lower($this->argument('name')) . '.blade.php';
68
+        return Str::lower($this->argument('name')).'.blade.php';
69 69
     }
70 70
 }
Please login to merge, or discard this patch.
src/Commands/Make/RouteProviderMakeCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,17 +84,17 @@
 block discarded – undo
84 84
 
85 85
         $generatorPath = GenerateConfigReader::read('provider');
86 86
 
87
-        return $path . $generatorPath->getPath() . '/' . $this->getFileName() . '.php';
87
+        return $path.$generatorPath->getPath().'/'.$this->getFileName().'.php';
88 88
     }
89 89
 
90 90
     protected function getWebRoutesPath(): string
91 91
     {
92
-        return '/' . $this->laravel['modules']->config('stubs.files.routes/web', 'Routes/web.php');
92
+        return '/'.$this->laravel['modules']->config('stubs.files.routes/web', 'Routes/web.php');
93 93
     }
94 94
 
95 95
     protected function getApiRoutesPath(): string
96 96
     {
97
-        return '/' . $this->laravel['modules']->config('stubs.files.routes/api', 'Routes/api.php');
97
+        return '/'.$this->laravel['modules']->config('stubs.files.routes/api', 'Routes/api.php');
98 98
     }
99 99
 
100 100
     public function getDefaultNamespace(): string
Please login to merge, or discard this patch.
src/Commands/Make/TestMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
             $testPath = GenerateConfigReader::read('test-unit');
79 79
         }
80 80
 
81
-        return $path . $testPath->getPath() . '/' . $this->getFileName() . '.php';
81
+        return $path.$testPath->getPath().'/'.$this->getFileName().'.php';
82 82
     }
83 83
 
84 84
     private function getFileName(): string
Please login to merge, or discard this patch.
src/Commands/Make/EventMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,11 +40,11 @@
 block discarded – undo
40 40
 
41 41
     public function getDestinationFilePath(): string
42 42
     {
43
-        $path       = $this->laravel['modules']->getModulePath($this->getModuleName());
43
+        $path = $this->laravel['modules']->getModulePath($this->getModuleName());
44 44
 
45 45
         $eventPath = GenerateConfigReader::read('event');
46 46
 
47
-        return $path . $eventPath->getPath() . '/' . $this->getFileName() . '.php';
47
+        return $path.$eventPath->getPath().'/'.$this->getFileName().'.php';
48 48
     }
49 49
 
50 50
     protected function getFileName(): string
Please login to merge, or discard this patch.
src/Commands/Make/PolicyMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 
69 69
         $policyPath = GenerateConfigReader::read('policies');
70 70
 
71
-        return $path . $policyPath->getPath() . '/' . $this->getFileName() . '.php';
71
+        return $path.$policyPath->getPath().'/'.$this->getFileName().'.php';
72 72
     }
73 73
 
74 74
     private function getFileName(): string
Please login to merge, or discard this patch.
src/Commands/Make/ModuleMakeCommand.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -88,10 +88,10 @@
 block discarded – undo
88 88
     }
89 89
 
90 90
     /**
91
-    * Get module type .
92
-    *
93
-    * @return string
94
-    */
91
+     * Get module type .
92
+     *
93
+     * @return string
94
+     */
95 95
     private function getModuleType(): string
96 96
     {
97 97
         $isPlain = $this->option('plain');
Please login to merge, or discard this patch.