Completed
Branch master (d1698d)
by Rémy
02:15
created
Source/Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * @param string $query
91
-     * @param array $params
91
+     * @param integer[] $params
92 92
      * @return Query
93 93
      */
94 94
     public static function customQuery($query, array $params = array())
Please login to merge, or discard this patch.
Source/QueryBuilder.php 2 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 
144 144
     /**
145 145
      * @param string $column
146
-     * @param mixed $value
146
+     * @param integer $value
147 147
      * @return $this
148 148
      */
149 149
     public function whereNot($column, $value)
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
      * Take care, the $values gets quoted!
206 206
      *
207 207
      * @param string $column
208
-     * @param int|float|string $value
208
+     * @param integer $value
209 209
      * @return $this
210 210
      */
211 211
     public function whereLt($column, $value)
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
      * Take care, the $values gets quoted!
220 220
      *
221 221
      * @param string $column
222
-     * @param int|float|string $value
222
+     * @param integer $value
223 223
      * @return $this
224 224
      */
225 225
     public function whereLte($column, $value)
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
      * Take care, the $values gets quoted!
234 234
      *
235 235
      * @param string $column
236
-     * @param int|float|string $value
236
+     * @param integer $value
237 237
      * @return $this
238 238
      */
239 239
     public function whereGt($column, $value)
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
      * Take care, the $values gets quoted!
248 248
      *
249 249
      * @param string $column
250
-     * @param int|float|string $value
250
+     * @param integer $value
251 251
      * @return $this
252 252
      */
253 253
     public function whereGte($column, $value)
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
     }
401 401
 
402 402
     /**
403
-     * @return mixed
403
+     * @return string|null
404 404
      */
405 405
     public function findColumn()
406 406
     {
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Rémy M. Böhler <[email protected]>
4
- */
3
+     * @author Rémy M. Böhler <[email protected]>
4
+     */
5 5
 namespace Rorm;
6 6
 
7 7
 use PDO;
Please login to merge, or discard this patch.
Source/Rorm.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      * Please make sure you keep the quoter as long you are needing it.
88 88
      *
89 89
      * @param \PDO $dbh
90
-     * @return callable
90
+     * @return \Closure
91 91
      */
92 92
     public static function getIdentifierQuoter(PDO $dbh = null)
93 93
     {
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Rémy M. Böhler <[email protected]>
4
- */
3
+     * @author Rémy M. Böhler <[email protected]>
4
+     */
5 5
 
6 6
 namespace Rorm;
7 7
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,12 +95,12 @@
 block discarded – undo
95 95
 
96 96
         if (static::isMySQL($dbh)) {
97 97
             // mysql mode
98
-            return function ($identifier) {
98
+            return function($identifier) {
99 99
                 return '`' . str_replace('`', '``', $identifier) . '`';
100 100
             };
101 101
         } else {
102 102
             // standard sql mode
103
-            return function ($identifier) {
103
+            return function($identifier) {
104 104
                 return '"' . str_replace('"', '""', $identifier) . '"';
105 105
             };
106 106
         }
Please login to merge, or discard this patch.
Source/Exception.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Rémy M. Böhler <[email protected]>
4
- */
3
+     * @author Rémy M. Böhler <[email protected]>
4
+     */
5 5
 
6 6
 namespace Rorm;
7 7
 
Please login to merge, or discard this patch.
Source/Query.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Rémy M. Böhler <[email protected]>
4
- */
3
+     * @author Rémy M. Böhler <[email protected]>
4
+     */
5 5
 namespace Rorm;
6 6
 
7 7
 use PDO;
Please login to merge, or discard this patch.
Source/QueryBuilderException.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Rémy M. Böhler <[email protected]>
4
- */
3
+     * @author Rémy M. Böhler <[email protected]>
4
+     */
5 5
 
6 6
 namespace Rorm;
7 7
 
Please login to merge, or discard this patch.
Tests/RormTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: remy
4
- */
3
+     * @author: remy
4
+     */
5 5
 namespace RormTest;
6 6
 
7 7
 use PHPUnit_Framework_TestCase;
Please login to merge, or discard this patch.
Tests/Test/Basic.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: remy
4
- */
3
+     * @author: remy
4
+     */
5 5
 use Rorm\Model;
6 6
 
7 7
 /**
Please login to merge, or discard this patch.
Tests/Test/Compound.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: remy
4
- */
3
+     * @author: remy
4
+     */
5 5
 namespace RormTest\Test;
6 6
 
7 7
 use Rorm\Model;
Please login to merge, or discard this patch.