mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
cs: Enable risky rule static_lambda
.
This commit is contained in:
@@ -45,7 +45,7 @@ class PostalCodeChoiceLoader implements ChoiceLoaderInterface
|
||||
{
|
||||
return new \Symfony\Component\Form\ChoiceList\ArrayChoiceList(
|
||||
$this->lazyLoadedPostalCodes,
|
||||
function (?PostalCode $pc = null) use ($value) {
|
||||
static function (?PostalCode $pc = null) use ($value) {
|
||||
return call_user_func($value, $pc);
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user