Completed
Push — master ( ae18f5...850931 )
by Nicolas
02:43 queued 54s
created
src/Commands/ComponentClassMakeCommand.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         ];
75 75
     }
76 76
     /**
77
-     * @return mixed
77
+     * @return string
78 78
      */
79 79
     protected function getTemplateContents()
80 80
     {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-     * @return mixed
92
+     * @return string
93 93
      */
94 94
     protected function getDestinationFilePath()
95 95
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     protected function writeComponentViewTemplate()
52 52
     {
53
-        $this->call('module:make-component-view', ['name' => $this->argument('name') , 'module' => $this->argument('module')]);
53
+        $this->call('module:make-component-view', ['name' => $this->argument('name'), 'module' => $this->argument('module')]);
54 54
     }
55 55
 
56 56
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     {
96 96
         $path = $this->laravel['modules']->getModulePath($this->getModuleName());
97 97
         $factoryPath = GenerateConfigReader::read('component-class');
98
-        return $path . $factoryPath->getPath() . '/' . $this->getFileName();
98
+        return $path.$factoryPath->getPath().'/'.$this->getFileName();
99 99
     }
100 100
 
101 101
     /**
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     private function getFileName()
105 105
     {
106
-        return Str::studly($this->argument('name')) . '.php';
106
+        return Str::studly($this->argument('name')).'.php';
107 107
     }
108 108
 
109 109
 }
Please login to merge, or discard this patch.
src/Commands/ComponentViewMakeCommand.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-     * @return mixed
62
+     * @return string
63 63
      */
64 64
     protected function getTemplateContents()
65 65
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @return mixed
76
+     * @return string
77 77
      */
78 78
     protected function getDestinationFilePath()
79 79
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     protected function getTemplateContents()
54 54
     {
55
-        return (new Stub('/component-view.stub',['QUOTE'=> Inspiring::quote()]))->render();
55
+        return (new Stub('/component-view.stub', ['QUOTE'=> Inspiring::quote()]))->render();
56 56
     }
57 57
 
58 58
     /**
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     {
63 63
         $path = $this->laravel['modules']->getModulePath($this->getModuleName());
64 64
         $factoryPath = GenerateConfigReader::read('component-view');
65
-        return $path . $factoryPath->getPath() . '/' . $this->getFileName();
65
+        return $path.$factoryPath->getPath().'/'.$this->getFileName();
66 66
     }
67 67
 
68 68
     /**
@@ -70,6 +70,6 @@  discard block
 block discarded – undo
70 70
      */
71 71
     private function getFileName()
72 72
     {
73
-        return Str::lower($this->argument('name')) . '.blade.php';
73
+        return Str::lower($this->argument('name')).'.blade.php';
74 74
     }
75 75
 }
Please login to merge, or discard this patch.