@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | */ |
| 280 | 280 | private function add_misc_rule(array $rule, string $class, string $person_property) : bool |
| 281 | 281 | { |
| 282 | - $persons = [ 0 => -1]; |
|
| 282 | + $persons = [0 => -1]; |
|
| 283 | 283 | $match = $rule['match']; |
| 284 | 284 | $constraint_match = "IN"; |
| 285 | 285 | if ($rule['match'] == '<>') { |
@@ -351,7 +351,7 @@ discard block |
||
| 351 | 351 | $ret = []; |
| 352 | 352 | |
| 353 | 353 | foreach ($object->get_properties() as $property) { |
| 354 | - if ( $property[0] == '_' |
|
| 354 | + if ($property[0] == '_' |
|
| 355 | 355 | || in_array($property, $skip_properties)) { |
| 356 | 356 | // Skip private or otherwise invalid properties |
| 357 | 357 | continue; |