@@ -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); |
@@ -239,7 +237,7 @@ discard block |
||
239 | 237 | /** |
240 | 238 | * Determine whether the given module exist. |
241 | 239 | * |
242 | - * @param $name |
|
240 | + * @param string $name |
|
243 | 241 | * |
244 | 242 | * @return bool |
245 | 243 | */ |
@@ -610,7 +608,7 @@ discard block |
||
610 | 608 | /** |
611 | 609 | * Get stub path. |
612 | 610 | * |
613 | - * @return string|null |
|
611 | + * @return string|boolean |
|
614 | 612 | */ |
615 | 613 | public function getStubPath() |
616 | 614 | { |
@@ -71,7 +71,7 @@ |
||
71 | 71 | /** |
72 | 72 | * Get module path for a specific module. |
73 | 73 | * |
74 | - * @param $name |
|
74 | + * @param string $name |
|
75 | 75 | * |
76 | 76 | * @return string |
77 | 77 | */ |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * Get a specific data from json file by given the key. |
48 | 48 | * |
49 | 49 | * @param string $key |
50 | - * @param mixed $default |
|
50 | + * @param string $default |
|
51 | 51 | * |
52 | 52 | * @return mixed |
53 | 53 | */ |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | /** |
146 | 146 | * Get version. |
147 | 147 | * |
148 | - * @return mixed |
|
148 | + * @return string |
|
149 | 149 | */ |
150 | 150 | public function getVersion() |
151 | 151 | { |