Passed
Pull Request — master (#1)
by Dmytro
04:37
created
framework/app/View.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@
 block discarded – undo
24 24
     private $_messages = array();
25 25
     private $_errors = array();
26 26
 
27
+    /**
28
+     * @param null|Route $tpl
29
+     */
27 30
     public function __construct($tpl) {
28 31
         if (!empty($tpl)) {
29 32
             if (is_string($tpl)) {
Please login to merge, or discard this patch.
framework/db/DBSelector.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
      */
43 43
     private $dbObject = null;
44 44
 
45
+    /**
46
+     * @param string $className
47
+     */
45 48
     public function __construct($className) {
46 49
         if (is_object($className)) {
47 50
             $className = get_class($className);
Please login to merge, or discard this patch.
framework/mail/POP.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
     /**
111 111
      * Count messages in POP server.
112 112
      *
113
-     * @return type
113
+     * @return integer
114 114
      */
115 115
     public function countMessages() {
116 116
         fputs($this->connection, "STAT\r\n");
Please login to merge, or discard this patch.
framework/ui/controls/UIPagination.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
         $this->lastPage = $this->currentPage + $this->pagesOffset;
63 63
     }
64 64
 
65
+    /**
66
+     * @param integer $currentPage
67
+     */
65 68
     public function setCurrentPage($currentPage) {
66 69
         if (Tools::isInteger($currentPage)) {
67 70
             if ($currentPage < 0) {
Please login to merge, or discard this patch.
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.