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