mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 18:43:49 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -176,9 +176,7 @@ class Event implements HasCenterInterface, HasScopeInterface
|
||||
{
|
||||
$iterator = $this->participations->getIterator();
|
||||
|
||||
$iterator->uasort(static function ($first, $second) {
|
||||
return strnatcasecmp($first->getPerson()->getFirstName(), $second->getPerson()->getFirstName());
|
||||
});
|
||||
$iterator->uasort(static fn($first, $second) => strnatcasecmp($first->getPerson()->getFirstName(), $second->getPerson()->getFirstName()));
|
||||
|
||||
return $iterator;
|
||||
}
|
||||
|
Reference in New Issue
Block a user