Passed
Push — master ( d1f166...32243d )
by Dmytro
21:08 queued 15:38
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/DBCore.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -271,7 +271,6 @@  discard block
 block discarded – undo
271 271
      * Return parameters from the statment with dynamic number of parameters.
272 272
      *
273 273
      * @param resource $stmt Statement.
274
-     * @param array $params Parameters.
275 274
      */
276 275
     public static function bindResults($stmt) {
277 276
         $resultSet = array();
@@ -769,7 +768,7 @@  discard block
 block discarded – undo
769 768
     /**
770 769
      * Executes SQL query with single record and value result and return this value.
771 770
      *
772
-     * @param mixed $query SQL query template string or DBPreparedQuery object
771
+     * @param string $query SQL query template string or DBPreparedQuery object
773 772
      *           if single parameter.
774 773
      * @param string $types Types string (ex: "isdb").
775 774
      * @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
@@ -52,9 +52,9 @@  discard block
 block discarded – undo
52 52
     /**
53 53
      * Sets primary key value.
54 54
      *
55
-     * @param mixed $recordId Key vaue.
55
+     * @param integer $recordId Key vaue.
56 56
      *
57
-     * @return boolean Success flag.
57
+     * @return DBObject Success flag.
58 58
      * @throws DBCoreException If object has no field with such name.
59 59
      */
60 60
     public function setId($recordId) {
@@ -495,7 +495,7 @@  discard block
 block discarded – undo
495 495
     /**
496 496
      * Deletes DB record for current DBObject.
497 497
      *
498
-     * @return mixed Number of affected rows (1 if some record was deleted,
498
+     * @return integer Number of affected rows (1 if some record was deleted,
499 499
      *            0 - if no) or FALSE if some error occurred.
500 500
      */
501 501
     public function delete() {
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/ui/UIComponent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
      * css($propertyName, $propertyValue) Set the value of a CSS property
137 137
      *
138 138
      * @param string $propertyName Name of a CSS property.
139
-     * @param mixed $propertyValue Value of a CSS property.
139
+     * @param string $propertyValue Value of a CSS property.
140 140
      *
141 141
      * @return Value of the CSS property or NULL if property is not exists.
142 142
      */
Please login to merge, or discard this patch.