@@ -35,7 +35,7 @@ |
||
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
38 | - * @param $fileName |
|
38 | + * @param string $fileName |
|
39 | 39 | * @param string $prompt |
40 | 40 | * |
41 | 41 | * @return bool |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | * Check if route exists. |
147 | 147 | * |
148 | 148 | * @param $link |
149 | - * @return mixed |
|
149 | + * @return boolean |
|
150 | 150 | */ |
151 | 151 | protected function routeExists($link) |
152 | 152 | { |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | * Check if web route exists. |
161 | 161 | * |
162 | 162 | * @param $link |
163 | - * @return mixed |
|
163 | + * @return boolean |
|
164 | 164 | */ |
165 | 165 | protected function webRouteExists($link) |
166 | 166 | { |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | /** |
193 | 193 | * Remove duplicated trailing slashes. |
194 | 194 | * |
195 | - * @param $link |
|
195 | + * @param string $link |
|
196 | 196 | * @return mixed |
197 | 197 | */ |
198 | 198 | protected function removeDuplicatedTrailingSlashes($link) |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | * Check if api route exists. |
205 | 205 | * |
206 | 206 | * @param $link |
207 | - * @return mixed |
|
207 | + * @return boolean |
|
208 | 208 | */ |
209 | 209 | protected function apiRouteExists($link) |
210 | 210 | { |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | /** |
215 | 215 | * Crete tmp file with route to add. |
216 | 216 | * |
217 | - * @return mixed |
|
217 | + * @return resource |
|
218 | 218 | */ |
219 | 219 | protected function createTmpFileWithRoute() |
220 | 220 | { |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | /** |
227 | 227 | * Get path from file resource. |
228 | 228 | * |
229 | - * @param $tmpfile |
|
229 | + * @param resource $tmpfile |
|
230 | 230 | * @return mixed |
231 | 231 | */ |
232 | 232 | protected function getPath($tmpfile) |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | /** |
238 | 238 | * Get route code to insert depending on type. |
239 | 239 | * |
240 | - * @return mixed |
|
240 | + * @return string |
|
241 | 241 | */ |
242 | 242 | protected function getRouteCode() |
243 | 243 | { |
@@ -378,8 +378,8 @@ discard block |
||
378 | 378 | /** |
379 | 379 | * Add method to controller. |
380 | 380 | * |
381 | - * @param $controller |
|
382 | - * @param $controllerMethod * |
|
381 | + * @param string $controller |
|
382 | + * @param string $controllerMethod * |
|
383 | 383 | */ |
384 | 384 | protected function addMethodToController($controller, $controllerMethod) |
385 | 385 | { |
@@ -392,7 +392,7 @@ discard block |
||
392 | 392 | * Crete tmp file with route to add. |
393 | 393 | * |
394 | 394 | * @param $controllerMethod |
395 | - * @return mixed |
|
395 | + * @return resource |
|
396 | 396 | */ |
397 | 397 | protected function createTmpFileWithMethod($controllerMethod) |
398 | 398 | { |
@@ -405,7 +405,7 @@ discard block |
||
405 | 405 | * Get method code. |
406 | 406 | * |
407 | 407 | * @param $controllerMethod |
408 | - * @return mixed |
|
408 | + * @return string |
|
409 | 409 | */ |
410 | 410 | protected function getMethodCode($controllerMethod) |
411 | 411 | { |