mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -42,9 +42,7 @@ class IdToEntityDataTransformer implements DataTransformerInterface
|
||||
{
|
||||
$this->repository = $repository;
|
||||
$this->multiple = $multiple;
|
||||
$this->getId = $getId ?? static function (object $o) {
|
||||
return $o->getId();
|
||||
};
|
||||
$this->getId = $getId ?? static fn(object $o) => $o->getId();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user