@@ -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 | { |
@@ -242,7 +242,7 @@ |
||
| 242 | 242 | * |
| 243 | 243 | * @param string $migration |
| 244 | 244 | * |
| 245 | - * @return mixed |
|
| 245 | + * @return boolean |
|
| 246 | 246 | */ |
| 247 | 247 | public function log($migration) |
| 248 | 248 | { |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * |
| 39 | 39 | * @param Application $app |
| 40 | 40 | * @param $name |
| 41 | - * @param $path |
|
| 41 | + * @param string $path |
|
| 42 | 42 | */ |
| 43 | 43 | public function __construct(Application $app, $name, $path) |
| 44 | 44 | { |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | /** |
| 183 | 183 | * Get json contents. |
| 184 | 184 | * |
| 185 | - * @param $file |
|
| 185 | + * @param string $file |
|
| 186 | 186 | * |
| 187 | 187 | * @return Json |
| 188 | 188 | */ |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | /** |
| 212 | 212 | * Get a specific data from composer.json file by given the key. |
| 213 | 213 | * |
| 214 | - * @param $key |
|
| 214 | + * @param string $key |
|
| 215 | 215 | * @param null $default |
| 216 | 216 | * |
| 217 | 217 | * @return mixed |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | /** |
| 290 | 290 | * Determine whether the given status same with the current module status. |
| 291 | 291 | * |
| 292 | - * @param $status |
|
| 292 | + * @param integer $status |
|
| 293 | 293 | * |
| 294 | 294 | * @return bool |
| 295 | 295 | */ |
@@ -341,9 +341,9 @@ discard block |
||
| 341 | 341 | /** |
| 342 | 342 | * Set active state for current module. |
| 343 | 343 | * |
| 344 | - * @param $active |
|
| 344 | + * @param integer $active |
|
| 345 | 345 | * |
| 346 | - * @return bool |
|
| 346 | + * @return integer |
|
| 347 | 347 | */ |
| 348 | 348 | public function setActive($active) |
| 349 | 349 | { |