@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | public $debugArray = []; |
| 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 | */ |
@@ -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 | public 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 | public function mailbox_exist($mailbox,$create=true) { |
| 603 | 603 | if ( trim($mailbox) == '' || !strstr($mailbox,'INBOX.') ) { |