Completed
Push — master ( c20eba...eddb15 )
by Junaid
01:21
created
src/Console/Commands/ViewMakeCommand.php 1 patch
Doc Comments   +9 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,6 +115,10 @@  discard block
 block discarded – undo
115 115
         return $path;
116 116
     }
117 117
 
118
+    /**
119
+     * @param string $type
120
+     * @param string $path
121
+     */
118 122
     protected function buildView($type, $path)
119 123
     {
120 124
         $name = Str::studly(class_basename($this->argument('name')));
@@ -171,8 +175,8 @@  discard block
 block discarded – undo
171 175
     /**
172 176
      * Replace all placeholders
173 177
      *
174
-     * @param $stub
175
-     * @param $name
178
+     * @param string $stub
179
+     * @param string $name
176 180
      * @param null $path
177 181
      *
178 182
      * @return mixed
@@ -211,6 +215,9 @@  discard block
 block discarded – undo
211 215
         );
212 216
     }
213 217
 
218
+    /**
219
+     * @param string $path
220
+     */
214 221
     protected function createDeleteView($path)
215 222
     {
216 223
         if (!file_exists($path . '/modals')) {
Please login to merge, or discard this patch.
src/CrayServiceProvider.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 use Illuminate\Database\Migrations\MigrationCreator;
6 6
 use Illuminate\Support\ServiceProvider;
7 7
 use JunaidQadirB\Cray\Console\Commands\ControllerMakeCommand;
8
-use JunaidQadirB\Cray\Console\Commands\FactoryMakeCommand;
9 8
 use JunaidQadirB\Cray\Console\Commands\Cray;
9
+use JunaidQadirB\Cray\Console\Commands\FactoryMakeCommand;
10 10
 use JunaidQadirB\Cray\Console\Commands\MigrateMakeCommand;
11 11
 use JunaidQadirB\Cray\Console\Commands\ModelMakeCommand;
12 12
 use JunaidQadirB\Cray\Console\Commands\RequestMakeCommand;
Please login to merge, or discard this patch.