@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * @param string $subject The subject of the message. |
30 | 30 | * @param string $message The message body |
31 | 31 | * @param array $params Optional parameters (not used) |
32 | - * @return bool |
|
32 | + * @return null|boolean |
|
33 | 33 | */ |
34 | 34 | function phpmailer_notify_handler(ElggEntity $from, ElggUser $to, $subject, $message, array $params = NULL) { |
35 | 35 | |
@@ -72,6 +72,7 @@ discard block |
||
72 | 72 | * This is a stupid function pulled from original Elgg code |
73 | 73 | * |
74 | 74 | * @param ElggEntity The entity sending the message |
75 | + * @param ElggEntity $from |
|
75 | 76 | * @return string with email address |
76 | 77 | */ |
77 | 78 | function phpmailer_extract_from_email($from) { |
@@ -98,8 +99,6 @@ discard block |
||
98 | 99 | /** |
99 | 100 | * Send an email using phpmailer |
100 | 101 | * |
101 | - * @param string $from From address |
|
102 | - * @param string $from_name From name |
|
103 | 102 | * @param string $to To address |
104 | 103 | * @param string $to_name To name |
105 | 104 | * @param string $subject The subject of the message. |
@@ -110,7 +109,7 @@ discard block |
||
110 | 109 | * @param array $files Array of file descriptor arrays, each file array |
111 | 110 | * consists of full path and name |
112 | 111 | * @param array $params Additional parameters |
113 | - * @return bool |
|
112 | + * @return null|boolean |
|
114 | 113 | */ |
115 | 114 | function phpmailer_send($to, $to_name, $subject, $body, array $bcc = NULL, $html = true, array $files = NULL, array $params = NULL, $image = NULL) { |
116 | 115 | |
@@ -255,6 +254,9 @@ discard block |
||
255 | 254 | |
256 | 255 | |
257 | 256 | |
257 | +/** |
|
258 | + * @param string $type |
|
259 | + */ |
|
258 | 260 | function phpmailer_logging($errMess, $errStack, $type, $errType) { |
259 | 261 | // logging mechanism |
260 | 262 | if (elgg_is_active_plugin('wet4')) { |