Test Failed
Push — master ( ce96ba...918ead )
by Joao Gilberto
01:53
created
src/Updatable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      */
27 27
     public function fields(array $fields)
28 28
     {
29
-        $this->fields = array_merge($this->fields, (array)$fields);
29
+        $this->fields = array_merge($this->fields, (array) $fields);
30 30
         
31 31
         return $this;
32 32
     }
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function where($filter, array $params = [])
57 57
     {
58
-        $this->where[] = [ 'filter' => $filter, 'params' => $params  ];
58
+        $this->where[] = ['filter' => $filter, 'params' => $params];
59 59
         return $this;
60 60
     }
61 61
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
             return null;
83 83
         }
84 84
         
85
-        return [ implode(' AND ', $whereStr), $params ];
85
+        return [implode(' AND ', $whereStr), $params];
86 86
     }
87 87
 
88 88
 
Please login to merge, or discard this patch.
src/Query.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function join($table, $filter)
97 97
     {
98
-        $this->join[] = [ 'table'=>$table, 'filter'=>$filter, 'type' => 'INNER'];
98
+        $this->join[] = ['table'=>$table, 'filter'=>$filter, 'type' => 'INNER'];
99 99
         return $this;
100 100
     }
101 101
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      */
110 110
     public function leftJoin($table, $filter)
111 111
     {
112
-        $this->join[] = [ 'table'=>$table, 'filter'=>$filter, 'type' => 'LEFT'];
112
+        $this->join[] = ['table'=>$table, 'filter'=>$filter, 'type' => 'LEFT'];
113 113
         return $this;
114 114
     }
115 115
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      */
124 124
     public function where($filter, array $params = [])
125 125
     {
126
-        $this->where[] = [ 'filter' => $filter, 'params' => $params  ];
126
+        $this->where[] = ['filter' => $filter, 'params' => $params];
127 127
         return $this;
128 128
     }
129 129
 
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
             return null;
225 225
         }
226 226
         
227
-        return [ implode(' AND ', $whereStr), $params ];
227
+        return [implode(' AND ', $whereStr), $params];
228 228
     }
229 229
 
230 230
     /**
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 
258 258
         $sql = ORMHelper::processLiteral($sql, $params);
259 259
 
260
-        return [ 'sql' => $sql, 'params' => $params ];
260
+        return ['sql' => $sql, 'params' => $params];
261 261
     }
262 262
 
263 263
     private function addOrderBy()
Please login to merge, or discard this patch.