Completed
Push — master ( 7745ce...68323b )
by Vijay
09:23
created
system/libraries/drivers/Captcha.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,6 +141,8 @@  discard block
 block discarded – undo
141 141
      * @param   resource  gd image color identifier for start color
142 142
      * @param   resource  gd image color identifier for end color
143 143
      * @param   string    direction: 'horizontal' or 'vertical', 'random' by default
144
+     * @param integer $color1
145
+     * @param integer $color2
144 146
      * @return  void
145 147
      */
146 148
     public function image_gradient($color1, $color2, $direction = null)
@@ -197,7 +199,7 @@  discard block
 block discarded – undo
197 199
      * Returns the img html element or outputs the image to the browser.
198 200
      *
199 201
      * @param   boolean  html output
200
-     * @return  mixed    html string or void
202
+     * @return  string|null    html string or void
201 203
      */
202 204
     public function image_render($html)
203 205
     {
Please login to merge, or discard this patch.
system/libraries/drivers/Captcha/Alpha.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * Outputs the Captcha image.
28 28
      *
29 29
      * @param   boolean  html output
30
-     * @return  mixed
30
+     * @return  string|null
31 31
      */
32 32
     public function render($html)
33 33
     {
Please login to merge, or discard this patch.
system/libraries/drivers/Captcha/Basic.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * Outputs the Captcha image.
28 28
      *
29 29
      * @param   boolean  html output
30
-     * @return  mixed
30
+     * @return  string|null
31 31
      */
32 32
     public function render($html)
33 33
     {
Please login to merge, or discard this patch.
system/libraries/drivers/Captcha/Black.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * Outputs the Captcha image.
28 28
      *
29 29
      * @param   boolean  html output
30
-     * @return  mixed
30
+     * @return  string|null
31 31
      */
32 32
     public function render($html)
33 33
     {
Please login to merge, or discard this patch.
system/libraries/drivers/Captcha/Math.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      * Outputs the Captcha riddle.
49 49
      *
50 50
      * @param   boolean  html output
51
-     * @return  mixed
51
+     * @return  string
52 52
      */
53 53
     public function render($html)
54 54
     {
Please login to merge, or discard this patch.
system/libraries/drivers/Captcha/Riddle.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * Outputs the Captcha riddle.
38 38
      *
39 39
      * @param   boolean  html output
40
-     * @return  mixed
40
+     * @return  string
41 41
      */
42 42
     public function render($html)
43 43
     {
Please login to merge, or discard this patch.
system/libraries/drivers/Database.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
      * Fetches SQL type information about a field, in a generic format.
349 349
      *
350 350
      * @param   string  field datatype
351
-     * @return  array
351
+     * @return  string
352 352
      */
353 353
     protected function sql_type($str)
354 354
     {
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
     /**
460 460
      * Returns the insert id from the result.
461 461
      *
462
-     * @return  mixed
462
+     * @return  integer
463 463
      */
464 464
     public function insert_id()
465 465
     {
@@ -480,6 +480,7 @@  discard block
 block discarded – undo
480 480
      *
481 481
      * @param   boolean   return rows as objects
482 482
      * @param   mixed     type
483
+     * @param boolean $object
483 484
      * @return  array
484 485
      */
485 486
     abstract public function result_array($object = null, $type = false);
Please login to merge, or discard this patch.
system/libraries/drivers/Database/Mssql.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,6 +82,9 @@  discard block
 block discarded – undo
82 82
         return false;
83 83
     }
84 84
 
85
+    /**
86
+     * @param string $sql
87
+     */
85 88
     public function query($sql)
86 89
     {
87 90
         // Only cache if it's turned on, and only cache if it's not a write statement
@@ -174,7 +177,7 @@  discard block
 block discarded – undo
174 177
      * functionality, a fancy query needs to be built.
175 178
      *
176 179
      * @param unknown_type $limit
177
-     * @return unknown
180
+     * @return string
178 181
      */
179 182
     public function limit($limit, $offset=null)
180 183
     {
Please login to merge, or discard this patch.
system/libraries/drivers/Database/Mysql.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@  discard block
 block discarded – undo
74 74
         return false;
75 75
     }
76 76
 
77
+    /**
78
+     * @param string $sql
79
+     */
77 80
     public function query($sql)
78 81
     {
79 82
         // Only cache if it's turned on, and only cache if it's not a write statement
@@ -326,6 +329,7 @@  discard block
 block discarded – undo
326 329
      * @param  resource  database link
327 330
      * @param  boolean   return objects or arrays
328 331
      * @param  string    SQL query that was run
332
+     * @param resource $result
329 333
      */
330 334
     public function __construct($result, $link, $object = true, $sql)
331 335
     {
Please login to merge, or discard this patch.