@@ -7,6 +7,9 @@ discard block |
||
7 | 7 | */ |
8 | 8 | class Redirect |
9 | 9 | { |
10 | + /** |
|
11 | + * @param string $path |
|
12 | + */ |
|
10 | 13 | public static function toPreviousViewedPageAfterLogin($path) |
11 | 14 | { |
12 | 15 | header('location: http://' . $_SERVER['HTTP_HOST'] . '/' . $path); |
@@ -23,7 +26,7 @@ discard block |
||
23 | 26 | /** |
24 | 27 | * To the defined page |
25 | 28 | * |
26 | - * @param $path |
|
29 | + * @param string $path |
|
27 | 30 | */ |
28 | 31 | public static function to($path) |
29 | 32 | { |