@@ -612,7 +612,7 @@ |
||
612 | 612 | * the name of the field |
613 | 613 | * @param string $key |
614 | 614 | * the value of the key |
615 | - * @param mixed $value |
|
615 | + * @param string $value |
|
616 | 616 | * the new value |
617 | 617 | */ |
618 | 618 | public function setField($name, $key, $value) { |
@@ -283,7 +283,7 @@ |
||
283 | 283 | * the extracted ids |
284 | 284 | */ |
285 | 285 | protected function getReferenceIds(array $entities, $field) { |
286 | - $ids = array_map(function (Entity $entity) use ($field) { |
|
286 | + $ids = array_map(function(Entity $entity) use ($field) { |
|
287 | 287 | $id = $entity->get($field); |
288 | 288 | return is_array($id) ? $id['id'] : $id; |
289 | 289 | }, $entities); |