@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | $fields = $this->getConfig('fields', []); |
| 113 | 113 | $anyDirty = array_reduce( |
| 114 | 114 | $fields, |
| 115 | - function (bool $isDirty, string $field) use ($entity): bool { |
|
| 115 | + function(bool $isDirty, string $field) use ($entity): bool { |
|
| 116 | 116 | return $isDirty || $entity->isDirty($field); |
| 117 | 117 | }, |
| 118 | 118 | false |
@@ -158,10 +158,10 @@ discard block |
||
| 158 | 158 | |
| 159 | 159 | return $table->find() |
| 160 | 160 | ->select($fields) |
| 161 | - ->where(function (QueryExpression $exp) use ($table, $pk, $ids): QueryExpression { |
|
| 161 | + ->where(function(QueryExpression $exp) use ($table, $pk, $ids): QueryExpression { |
|
| 162 | 162 | return $exp->in($table->aliasField($pk), $ids); |
| 163 | 163 | }) |
| 164 | - ->map(function (EntityInterface $entity) use ($pk, $placeholders): EntityInterface { |
|
| 164 | + ->map(function(EntityInterface $entity) use ($pk, $placeholders): EntityInterface { |
|
| 165 | 165 | $id = $entity->get($pk); |
| 166 | 166 | foreach ($placeholders as $datum) { |
| 167 | 167 | if ($datum['id'] == $id) { |