Passed
Pull Request — master (#1)
by Dmytro
04:37
created
framework/db/DBCore.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -292,7 +292,6 @@  discard block
 block discarded – undo
292 292
      * Return parameters from the statment with dynamic number of parameters.
293 293
      *
294 294
      * @param resource $stmt   Statement.
295
-     * @param array    $params Parameters.
296 295
      */
297 296
     public static function bindResults($stmt)
298 297
     {
@@ -495,7 +494,7 @@  discard block
 block discarded – undo
495 494
      * Returns printable field description string for table fields list generator.
496 495
      *
497 496
      * @param string $field      Field name.
498
-     * @param array  $attributes List of field attributes.
497
+     * @param string  $attributes List of field attributes.
499 498
      *
500 499
      * @return string
501 500
      */
@@ -818,7 +817,7 @@  discard block
 block discarded – undo
818 817
     /**
819 818
      * Executes SQL query with single record and value result and return this value.
820 819
      *
821
-     * @param mixed  $query  SQL query template string or DBPreparedQuery object
820
+     * @param string  $query  SQL query template string or DBPreparedQuery object
822 821
      *                       if single parameter.
823 822
      * @param string $types  Types string (ex: "isdb").
824 823
      * @param array  $params Parameters in the same order like types string.
Please login to merge, or discard this patch.
framework/db/DBObject.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,11 +58,11 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * Sets primary key value.
60 60
      *
61
-     * @param mixed $recordId Key vaue.
61
+     * @param integer $recordId Key vaue.
62 62
      *
63 63
      * @throws DBCoreException If object has no field with such name.
64 64
      *
65
-     * @return bool Success flag.
65
+     * @return DBObject Success flag.
66 66
      */
67 67
     public function setId($recordId)
68 68
     {
@@ -532,7 +532,7 @@  discard block
 block discarded – undo
532 532
     /**
533 533
      * Deletes DB record for current DBObject.
534 534
      *
535
-     * @return mixed Number of affected rows (1 if some record was deleted,
535
+     * @return integer Number of affected rows (1 if some record was deleted,
536 536
      *               0 - if no) or FALSE if some error occurred.
537 537
      */
538 538
     public function delete()
Please login to merge, or discard this patch.
framework/ui/UIComponent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
      * css($propertyName, $propertyValue) Set the value of a CSS property.
144 144
      *
145 145
      * @param string $propertyName  Name of a CSS property.
146
-     * @param mixed  $propertyValue Value of a CSS property.
146
+     * @param string  $propertyValue Value of a CSS property.
147 147
      *
148 148
      * @return Value of the CSS property or NULL if property is not exists.
149 149
      */
Please login to merge, or discard this patch.