diff --git a/models/DataObject/Classificationstore.php b/models/DataObject/Classificationstore.php index 7c58d741c6e..2506197b38c 100644 --- a/models/DataObject/Classificationstore.php +++ b/models/DataObject/Classificationstore.php @@ -111,7 +111,7 @@ public function setItems($items) */ public function getItems() { - return $this->getAllDataFromField(fn($classificationStore, $fieldsArray) => $fieldsArray + $classificationStore->items); + return $this->getAllDataFromField(fn ($classificationStore, $fieldsArray) => $fieldsArray + $classificationStore->items); } /** @@ -467,7 +467,7 @@ public static function doGetFallbackValues() */ public function getGroupCollectionMappings(): array { - return $this->getAllDataFromField(fn($classificationStore, $fieldsArray) => $fieldsArray + $classificationStore->groupCollectionMapping); + return $this->getAllDataFromField(fn ($classificationStore, $fieldsArray) => $fieldsArray + $classificationStore->groupCollectionMapping); } /** @@ -504,7 +504,7 @@ public function getGroupCollectionMapping($groupId) */ public function getGroups(): array { - return $this->getAllDataFromField(fn($classificationStore, $fieldsArray) => array_merge(Classificationstore::getActiveGroupsWithConfig($classificationStore), $fieldsArray)); + return $this->getAllDataFromField(fn ($classificationStore, $fieldsArray) => array_merge(Classificationstore::getActiveGroupsWithConfig($classificationStore), $fieldsArray)); } private function getAllDataFromField(callable $mergeFunction): array