@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | /** |
246 | 246 | * Get a specific data from composer.json file by given the key. |
247 | 247 | * |
248 | - * @param $key |
|
248 | + * @param string $key |
|
249 | 249 | * @param null $default |
250 | 250 | * |
251 | 251 | * @return mixed |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | /** |
321 | 321 | * Determine whether the given status same with the current module status. |
322 | 322 | * |
323 | - * @param bool $status |
|
323 | + * @param integer $status |
|
324 | 324 | * |
325 | 325 | * @return bool |
326 | 326 | */ |
@@ -352,9 +352,9 @@ discard block |
||
352 | 352 | /** |
353 | 353 | * Set active state for current module. |
354 | 354 | * |
355 | - * @param bool $active |
|
355 | + * @param integer $active |
|
356 | 356 | * |
357 | - * @return void |
|
357 | + * @return boolean |
|
358 | 358 | */ |
359 | 359 | public function setActive(int $active): bool |
360 | 360 | { |
@@ -138,7 +138,7 @@ |
||
138 | 138 | /** |
139 | 139 | * Find a specific module. |
140 | 140 | * @param $name |
141 | - * @return \Nwidart\Modules\Contracts\ModuleInterface |
|
141 | + * @return null|Module |
|
142 | 142 | */ |
143 | 143 | public function find($name): ?\Nwidart\Modules\Contracts\ModuleInterface |
144 | 144 | { |