@@ -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) { |
@@ -514,7 +514,7 @@ discard block |
||
514 | 514 | /** |
515 | 515 | * Deletes DB record for current DBObject. |
516 | 516 | * |
517 | - * @return mixed Number of affected rows (1 if some record was deleted, |
|
517 | + * @return integer Number of affected rows (1 if some record was deleted, |
|
518 | 518 | * 0 - if no) or FALSE if some error occurred. |
519 | 519 | */ |
520 | 520 | public function delete() { |