Merge branch 'master' into sf4

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

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