@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | * "http://www.mydomain.com/user/profile", useful as people had problems with the RELATIVE URL path generated |
16 | 16 | * by Redirect::to() when using HUGE inside sub-folders. |
17 | 17 | * |
18 | - * @param $path string |
|
18 | + * @param string $path string |
|
19 | 19 | */ |
20 | 20 | public static function toPreviousViewedPageAfterLogin($path) |
21 | 21 | { |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * @see https://github.com/panique/huge/issues/770 |
40 | 40 | * @see https://github.com/panique/huge/issues/754 |
41 | 41 | * |
42 | - * @param $path string |
|
42 | + * @param string $path string |
|
43 | 43 | */ |
44 | 44 | public static function to($path) |
45 | 45 | { |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | * When using just Request::post('x') it will return the raw and untouched $_POST['x'], when using it like |
15 | 15 | * Request::post('x', true) then it will return a trimmed and stripped $_POST['x'] ! |
16 | 16 | * |
17 | - * @param string|array $key key |
|
17 | + * @param string $key key |
|
18 | 18 | * @param bool $clean marker for optional cleaning of the var |
19 | 19 | * @return mixed the key's value or nothing |
20 | 20 | */ |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * Returns the state of a checkbox. |
42 | 42 | * |
43 | 43 | * @param mixed $key key |
44 | - * @return mixed state of the checkbox |
|
44 | + * @return integer|null state of the checkbox |
|
45 | 45 | */ |
46 | 46 | public static function postCheckbox($key) |
47 | 47 | { |
@@ -50,8 +50,8 @@ discard block |
||
50 | 50 | |
51 | 51 | /** |
52 | 52 | * gets/returns the value of a specific key of the GET super-global |
53 | - * @param mixed $key key |
|
54 | - * @return mixed the key's value or nothing |
|
53 | + * @param string $key key |
|
54 | + * @return string the key's value or nothing |
|
55 | 55 | */ |
56 | 56 | public static function get($key) |
57 | 57 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | |
63 | 63 | /** |
64 | 64 | * gets/returns the value of a specific key of the COOKIE super-global |
65 | - * @param mixed $key key |
|
65 | + * @param string $key key |
|
66 | 66 | * @return mixed the key's value or nothing |
67 | 67 | */ |
68 | 68 | public static function cookie($key) |