Merge branch 'master' into sf4

This commit is contained in:
2020-08-25 15:41:00 +02:00

View File

@@ -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);
});