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