@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | var $debugArray = array(); |
31 | 31 | |
32 | 32 | /** |
33 | - * @param $debug |
|
33 | + * @param boolean $debug |
|
34 | 34 | */ |
35 | 35 | protected function __construct($debug) |
36 | 36 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | } |
63 | 63 | |
64 | 64 | /** |
65 | - * @param null $name |
|
65 | + * @param string $name |
|
66 | 66 | * |
67 | 67 | * @return null |
68 | 68 | */ |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
107 | - * @param $name |
|
107 | + * @param string $name |
|
108 | 108 | * |
109 | 109 | * @return mixed |
110 | 110 | */ |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | /** |
102 | 102 | * @param $html |
103 | 103 | * |
104 | - * @return the |
|
104 | + * @return string |
|
105 | 105 | * @throws Html2TextException |
106 | 106 | */ |
107 | 107 | function xnewsletter_html2text($html) { |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | |
113 | 113 | /** |
114 | 114 | * @param $global |
115 | - * @param $key |
|
115 | + * @param string $key |
|
116 | 116 | * @param string $default |
117 | 117 | * @param string $type |
118 | 118 | * @param bool $notset |
@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | } |
346 | 346 | |
347 | 347 | /** |
348 | - * @param $subscr_id |
|
348 | + * @param boolean $subscr_id |
|
349 | 349 | * @param $cat_id |
350 | 350 | * |
351 | 351 | * @return bool |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | * |
25 | 25 | * @throws Html2TextException |
26 | 26 | * @internal param \the $html input HTML |
27 | - * @return the HTML converted, as best as possible, to text |
|
27 | + * @return string HTML converted, as best as possible, to text |
|
28 | 28 | */ |
29 | 29 | function convert_html_to_text($html) { |
30 | 30 | $html = fix_newlines($html); |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * all become \ns. |
51 | 51 | * |
52 | 52 | * @param text text with any number of \r, \r\n and \n combinations |
53 | - * @return the fixed text |
|
53 | + * @return string fixed text |
|
54 | 54 | */ |
55 | 55 | function fix_newlines($text) { |
56 | 56 | // replace \r\n to \n |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | } |
107 | 107 | |
108 | 108 | /** |
109 | - * @param $node |
|
109 | + * @param DOMDocument $node |
|
110 | 110 | * |
111 | 111 | * @return string |
112 | 112 | */ |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | } |
184 | 184 | |
185 | 185 | /** |
186 | - * @param $tablename |
|
186 | + * @param string $tablename |
|
187 | 187 | * |
188 | 188 | * @return bool |
189 | 189 | */ |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | } |
204 | 204 | |
205 | 205 | /** |
206 | - * @param $tablename |
|
206 | + * @param string $tablename |
|
207 | 207 | * |
208 | 208 | * @return bool |
209 | 209 | */ |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | * Output additional msg for debug |
260 | 260 | * |
261 | 261 | * @param bool|string $msg , if not given, output the last error msg |
262 | - * @param int|string $verbose_level , the output level of this message |
|
262 | + * @param integer $verbose_level , the output level of this message |
|
263 | 263 | */ |
264 | 264 | function output($msg=false,$verbose_level=VERBOSE_SIMPLE) { |
265 | 265 | if ($this->verbose >= $verbose_level) { |
@@ -597,7 +597,7 @@ discard block |
||
597 | 597 | * - if not found, it will create it |
598 | 598 | * @param string $mailbox (the mailbox name, must be in 'INBOX.checkmailbox' format) |
599 | 599 | * @param boolean $create (whether or not to create the checkmailbox if not found, defaults to true) |
600 | - * @return boolean |
|
600 | + * @return null|boolean |
|
601 | 601 | */ |
602 | 602 | function mailbox_exist($mailbox,$create=true) { |
603 | 603 | if ( trim($mailbox) == '' || !strstr($mailbox,'INBOX.') ) { |
@@ -641,7 +641,7 @@ discard block |
||
641 | 641 | * Function to delete messages in a mailbox, based on date |
642 | 642 | * NOTE: this is global ... will affect all mailboxes except any that have 'sent' in the mailbox name |
643 | 643 | * @internal param string $mailbox (the mailbox name) |
644 | - * @return boolean |
|
644 | + * @return boolean|null |
|
645 | 645 | */ |
646 | 646 | function globalDelete() { |
647 | 647 | $dateArr = explode('-', $this->deleteMsgDate); // date format is yyyy-mm-dd |
@@ -35,7 +35,7 @@ |
||
35 | 35 | * @param $xn_send_in_packages |
36 | 36 | * @param $xn_send_in_packages_time |
37 | 37 | * |
38 | - * @return bool |
|
38 | + * @return null|boolean |
|
39 | 39 | */ |
40 | 40 | function xnewsletter_createTasks($op, $letter_id, $xn_send_in_packages, $xn_send_in_packages_time) { |
41 | 41 | global $xoopsUser, $xoopsDB; |