mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 20:43:49 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -62,9 +62,7 @@ class EventChoiceLoader implements ChoiceLoaderInterface
|
||||
{
|
||||
return new \Symfony\Component\Form\ChoiceList\ArrayChoiceList(
|
||||
$this->lazyLoadedEvents,
|
||||
static function (Event $p) use ($value) {
|
||||
return call_user_func($value, $p);
|
||||
}
|
||||
static fn(Event $p) => call_user_func($value, $p)
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user