mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 13:54:59 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -38,9 +38,7 @@ class JsonCustomFieldToArrayTransformer implements DataTransformerInterface
|
||||
|
||||
// @TODO: in the array_map callback, CustomField::getLabel() does not exist. What do we do here?
|
||||
$customFieldsLablels = array_map(
|
||||
static function ($e) {
|
||||
return $e->getLabel();
|
||||
},
|
||||
static fn($e) => $e->getLabel(),
|
||||
$customFields
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user