@@ -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')) { |