diff --git a/Form/ChoiceLoader/PostalCodeChoiceLoader.php b/Form/ChoiceLoader/PostalCodeChoiceLoader.php index add74809e..dfc2caa1f 100644 --- a/Form/ChoiceLoader/PostalCodeChoiceLoader.php +++ b/Form/ChoiceLoader/PostalCodeChoiceLoader.php @@ -60,7 +60,7 @@ class PostalCodeChoiceLoader implements ChoiceLoaderInterface { $list = new \Symfony\Component\Form\ChoiceList\ArrayChoiceList( $this->lazyLoadedPostalCodes, - function(PostalCode $pc) use ($value) { + function(PostalCode $pc = null) use ($value) { return \call_user_func($value, $pc); });