@@ -115,6 +115,10 @@ discard block |
||
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 |
||
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 |
||
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')) { |
@@ -5,8 +5,8 @@ |
||
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; |