@@ -98,7 +98,8 @@ discard block |
||
| 98 | 98 | /** |
| 99 | 99 | * Delete message from POP server. |
| 100 | 100 | * |
| 101 | - * @return int $messageId Id of the message. |
|
| 101 | + * @param integer $messageId |
|
| 102 | + * @return string $messageId Id of the message. |
|
| 102 | 103 | * |
| 103 | 104 | * @return string Response string. |
| 104 | 105 | */ |
@@ -111,7 +112,7 @@ discard block |
||
| 111 | 112 | /** |
| 112 | 113 | * Count messages in POP server. |
| 113 | 114 | * |
| 114 | - * @return type |
|
| 115 | + * @return integer |
|
| 115 | 116 | */ |
| 116 | 117 | public function countMessages() { |
| 117 | 118 | fwrite($this->connection, "STAT\r\n"); |
@@ -124,7 +125,7 @@ discard block |
||
| 124 | 125 | /** |
| 125 | 126 | * Return message header. |
| 126 | 127 | * |
| 127 | - * @return int $messageNumber Number of the message. |
|
| 128 | + * @return string $messageNumber Number of the message. |
|
| 128 | 129 | * |
| 129 | 130 | * @return string |
| 130 | 131 | */ |
@@ -159,9 +160,10 @@ discard block |
||
| 159 | 160 | /** |
| 160 | 161 | * Return message by number. |
| 161 | 162 | * |
| 162 | - * @return int $messageNumber Number of the message |
|
| 163 | + * @param integer $messageNumber |
|
| 164 | + * @return false|string $messageNumber Number of the message |
|
| 163 | 165 | * |
| 164 | - * @return string |
|
| 166 | + * @return false|string |
|
| 165 | 167 | */ |
| 166 | 168 | public function getMessage($messageNumber) { |
| 167 | 169 | fwrite($this->connection, "RETR $messageNumber\r\n"); |