Completed
Push — master ( 4f0406...3f0c83 )
by Iman
107:14 queued 51:28
created
src/WidgetGenerator.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     }
99 99
 
100 100
     /**
101
-     * @return mixed|string
101
+     * @return string
102 102
      */
103 103
     private function _getViewPath()
104 104
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
     /**
112 112
      * Creates the widget class
113
-     * @return bool
113
+     * @return false|null
114 114
      */
115 115
     private function _makeWidgetClass()
116 116
     {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,14 +51,14 @@  discard block
 block discarded – undo
51 51
         $path = $this->_getViewPath();
52 52
 
53 53
         if ($this->files->exists($path)) {
54
-            $this->error($this->qualifyClass($this->getNameInput())."View.blade.php - Already exists! (@_@)");
54
+            $this->error($this->qualifyClass($this->getNameInput()) . "View.blade.php - Already exists! (@_@)");
55 55
 
56 56
             return;
57 57
         }
58 58
 
59 59
         $this->files->put($path, '');
60 60
 
61
-        $this->info( ' - '.$this->qualifyClass($this->getNameInput())."View.blade.php - was created. (^_^)");
61
+        $this->info(' - ' . $this->qualifyClass($this->getNameInput()) . "View.blade.php - was created. (^_^)");
62 62
     }
63 63
 
64 64
     /**
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         // to create the class and overwrite the user's code. So, we will bail out so the
123 123
         // code is untouched. Otherwise, we will continue generating this class' files.
124 124
         if ($this->alreadyExists($this->getNameInput())) {
125
-            $this->error($this->qualifyClass($this->getNameInput()).".php - Already exists (@_@)");
125
+            $this->error($this->qualifyClass($this->getNameInput()) . ".php - Already exists (@_@)");
126 126
 
127 127
             return false;
128 128
         }
@@ -134,6 +134,6 @@  discard block
 block discarded – undo
134 134
 
135 135
         $this->files->put($path, $this->buildClass($name));
136 136
 
137
-        $this->info(' - '.$name.'.php - was created.  (^_^)');
137
+        $this->info(' - ' . $name . '.php - was created.  (^_^)');
138 138
     }
139 139
 }
Please login to merge, or discard this patch.