@@ -252,7 +252,7 @@ discard block |
||
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 |
||
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 |
||
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']); |