Completed
Push — master ( 9b4748...54f246 )
by Dmytro
17:21 queued 03:03
created
framework/db/DBObject.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,9 +53,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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() {
Please login to merge, or discard this patch.