@@ -9,11 +9,11 @@ |
||
| 9 | 9 | use midcom\datamanager\indexer\client; |
| 10 | 10 | use midcom\datamanager\datamanager; |
| 11 | 11 | |
| 12 | - /** |
|
| 13 | - * Indexer client class |
|
| 14 | - * |
|
| 15 | - * @package org.openpsa.invoices |
|
| 16 | - */ |
|
| 12 | + /** |
|
| 13 | + * Indexer client class |
|
| 14 | + * |
|
| 15 | + * @package org.openpsa.invoices |
|
| 16 | + */ |
|
| 17 | 17 | class org_openpsa_invoices_midcom_indexer extends client |
| 18 | 18 | { |
| 19 | 19 | public function prepare_document(midcom_services_indexer_document $document, datamanager $dm) |
@@ -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; |