@@ -100,12 +100,12 @@ |
||
100 | 100 | * The main mail sending method, this simply calls a certain mail sending method depending on which mail provider |
101 | 101 | * you've selected in the application's config. |
102 | 102 | * |
103 | - * @param $user_email string email |
|
103 | + * @param string $user_email string email |
|
104 | 104 | * @param $from_email string sender's email |
105 | 105 | * @param $from_name string sender's name |
106 | 106 | * @param $subject string subject |
107 | - * @param $body string full mail body text |
|
108 | - * @return bool the success status of the according mail sending method |
|
107 | + * @param string $body string full mail body text |
|
108 | + * @return boolean|null the success status of the according mail sending method |
|
109 | 109 | */ |
110 | 110 | public function sendMail($user_email, $from_email, $from_name, $subject, $body) |
111 | 111 | { |
@@ -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 | { |