mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
cs: Enable risky rule static_lambda
.
This commit is contained in:
@@ -520,10 +520,10 @@ class AccompanyingPeriod implements
|
||||
public function getAvailablePersonLocation(): Collection
|
||||
{
|
||||
return $this->getOpenParticipations()
|
||||
->filter(function (AccompanyingPeriodParticipation $p) {
|
||||
->filter(static function (AccompanyingPeriodParticipation $p) {
|
||||
return $p->getPerson()->hasCurrentHouseholdAddress();
|
||||
})
|
||||
->map(function (AccompanyingPeriodParticipation $p) {
|
||||
->map(static function (AccompanyingPeriodParticipation $p) {
|
||||
return $p->getPerson();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user