@@ -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"); |
@@ -53,9 +53,9 @@ discard block |
||
| 53 | 53 | /** |
| 54 | 54 | * Sets primary key value. |
| 55 | 55 | * |
| 56 | - * @param mixed $recordId Key vaue. |
|
| 56 | + * @param integer $recordId Key vaue. |
|
| 57 | 57 | * |
| 58 | - * @return bool Success flag. |
|
| 58 | + * @return DBObject Success flag. |
|
| 59 | 59 | * @throws DBCoreException If object has no field with such name. |
| 60 | 60 | */ |
| 61 | 61 | public function setId($recordId) { |
@@ -255,7 +255,7 @@ discard block |
||
| 255 | 255 | * @param bool $ignore Ignore unique indexes or not. |
| 256 | 256 | * @param bool Debug mode flag. |
| 257 | 257 | * |
| 258 | - * @return mixed Primary key value. |
|
| 258 | + * @return integer Primary key value. |
|
| 259 | 259 | * @throws DBCoreException If some database error occurred. |
| 260 | 260 | */ |
| 261 | 261 | public function insert($ignore = false, $debug = false) { |
@@ -50,6 +50,9 @@ |
||
| 50 | 50 | */ |
| 51 | 51 | private $_errors = []; |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @param null|Route $tpl |
|
| 55 | + */ |
|
| 53 | 56 | public function __construct($tpl) { |
| 54 | 57 | if (!empty($tpl)) { |
| 55 | 58 | if (is_string($tpl)) { |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | * css($propertyName, $propertyValue) Set the value of a CSS property. |
| 136 | 136 | * |
| 137 | 137 | * @param string $propertyName Name of a CSS property. |
| 138 | - * @param mixed $propertyValue Value of a CSS property. |
|
| 138 | + * @param string $propertyValue Value of a CSS property. |
|
| 139 | 139 | * |
| 140 | 140 | * @return Value of the CSS property or NULL if property is not exists. |
| 141 | 141 | */ |