Passed
Push — master ( 46d268...bce9b3 )
by Andreas
13:53
created
src/query.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
                 } else {
253 253
                     $mrp = new \midgard_reflection_property($targetclass);
254 254
 
255
-                    if (   !$mrp->is_link($part)
255
+                    if (!$mrp->is_link($part)
256 256
                         && !$mrp->is_special_link($part)) {
257 257
                         throw exception::invalid_property($part);
258 258
                     }
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
             $column = $cm->midgard['field_aliases'][$column];
270 270
         }
271 271
 
272
-        if (   !$cm->hasField($column)
272
+        if (!$cm->hasField($column)
273 273
             && !$cm->hasAssociation($column)) {
274 274
             throw exception::invalid_property($column);
275 275
         }
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
             $expression = $operator . '( ?' . $this->parameters . ')';
291 291
         }
292 292
 
293
-        if (   $value === 0
293
+        if ($value === 0
294 294
             || $value === null
295 295
             || is_array($value)) {
296 296
             $cm = connection::get_em()->getClassMetadata($parsed['targetclass']);
Please login to merge, or discard this patch.