@@ -88,7 +88,7 @@ |
||
88 | 88 | /** |
89 | 89 | * Get module instance. |
90 | 90 | * |
91 | - * @return \Nwidart\Modules\Module |
|
91 | + * @return string |
|
92 | 92 | */ |
93 | 93 | public function getModule() |
94 | 94 | { |
@@ -90,7 +90,7 @@ |
||
90 | 90 | /** |
91 | 91 | * Get matches data from regex. |
92 | 92 | * |
93 | - * @return array |
|
93 | + * @return string[] |
|
94 | 94 | */ |
95 | 95 | public function getMatches() |
96 | 96 | { |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | /** |
69 | 69 | * @throws \InvalidArgumentException |
70 | 70 | * |
71 | - * @return mixed |
|
71 | + * @return MigrationMakeCommand |
|
72 | 72 | */ |
73 | 73 | protected function getTemplateContents() |
74 | 74 | { |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | } |
109 | 109 | |
110 | 110 | /** |
111 | - * @return mixed |
|
111 | + * @return string |
|
112 | 112 | */ |
113 | 113 | protected function getDestinationFilePath() |
114 | 114 | { |
@@ -106,7 +106,7 @@ |
||
106 | 106 | /** |
107 | 107 | * Set console command instance. |
108 | 108 | * |
109 | - * @param \Illuminate\Console\Command $console |
|
109 | + * @param \Nwidart\Modules\Commands\InstallCommand $console |
|
110 | 110 | * |
111 | 111 | * @return $this |
112 | 112 | */ |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | /** |
232 | 232 | * Get a specific data from composer.json file by given the key. |
233 | 233 | * |
234 | - * @param $key |
|
234 | + * @param string $key |
|
235 | 235 | * @param null $default |
236 | 236 | * |
237 | 237 | * @return mixed |
@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | /** |
307 | 307 | * Determine whether the given status same with the current module status. |
308 | 308 | * |
309 | - * @param $status |
|
309 | + * @param integer $status |
|
310 | 310 | * |
311 | 311 | * @return bool |
312 | 312 | */ |
@@ -338,7 +338,7 @@ discard block |
||
338 | 338 | /** |
339 | 339 | * Set active state for current module. |
340 | 340 | * |
341 | - * @param $active |
|
341 | + * @param integer $active |
|
342 | 342 | * |
343 | 343 | * @return bool |
344 | 344 | */ |
@@ -126,9 +126,7 @@ discard block |
||
126 | 126 | /** |
127 | 127 | * Creates a new Module instance |
128 | 128 | * |
129 | - * @param Container $app |
|
130 | - * @param string $args |
|
131 | - * @param string $path |
|
129 | + * @param string[] $args |
|
132 | 130 | * @return \Nwidart\Modules\Module |
133 | 131 | */ |
134 | 132 | abstract protected function createModule(...$args); |
@@ -448,7 +446,7 @@ discard block |
||
448 | 446 | /** |
449 | 447 | * Get a specific config data from a configuration file. |
450 | 448 | * |
451 | - * @param $key |
|
449 | + * @param string $key |
|
452 | 450 | * |
453 | 451 | * @param null $default |
454 | 452 | * @return mixed |
@@ -637,7 +635,7 @@ discard block |
||
637 | 635 | /** |
638 | 636 | * Get stub path. |
639 | 637 | * |
640 | - * @return string|null |
|
638 | + * @return string|boolean |
|
641 | 639 | */ |
642 | 640 | public function getStubPath() |
643 | 641 | { |