@@ -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 | { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * |
45 | 45 | * @param Container $app |
46 | 46 | * @param $name |
47 | - * @param $path |
|
47 | + * @param string $path |
|
48 | 48 | */ |
49 | 49 | public function __construct(Container $app, $name, $path) |
50 | 50 | { |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | /** |
189 | 189 | * Get json contents from the cache, setting as needed. |
190 | 190 | * |
191 | - * @param $file |
|
191 | + * @param string $file |
|
192 | 192 | * |
193 | 193 | * @return Json |
194 | 194 | */ |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | /** |
220 | 220 | * Get a specific data from composer.json file by given the key. |
221 | 221 | * |
222 | - * @param $key |
|
222 | + * @param string $key |
|
223 | 223 | * @param null $default |
224 | 224 | * |
225 | 225 | * @return mixed |
@@ -297,7 +297,7 @@ discard block |
||
297 | 297 | /** |
298 | 298 | * Determine whether the given status same with the current module status. |
299 | 299 | * |
300 | - * @param $status |
|
300 | + * @param integer $status |
|
301 | 301 | * |
302 | 302 | * @return bool |
303 | 303 | */ |
@@ -349,9 +349,9 @@ discard block |
||
349 | 349 | /** |
350 | 350 | * Set active state for current module. |
351 | 351 | * |
352 | - * @param $active |
|
352 | + * @param integer $active |
|
353 | 353 | * |
354 | - * @return bool |
|
354 | + * @return integer |
|
355 | 355 | */ |
356 | 356 | public function setActive($active) |
357 | 357 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | } |
60 | 60 | |
61 | 61 | /** |
62 | - * @return mixed |
|
62 | + * @return string |
|
63 | 63 | */ |
64 | 64 | protected function getTemplateContents() |
65 | 65 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
76 | - * @return mixed |
|
76 | + * @return string |
|
77 | 77 | */ |
78 | 78 | protected function getDestinationFilePath() |
79 | 79 | { |