mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
Merge branch 'master' into sf4
This commit is contained in:
commit
a1996779e8
@ -60,7 +60,7 @@ class PostalCodeChoiceLoader implements ChoiceLoaderInterface
|
|||||||
{
|
{
|
||||||
$list = new \Symfony\Component\Form\ChoiceList\ArrayChoiceList(
|
$list = new \Symfony\Component\Form\ChoiceList\ArrayChoiceList(
|
||||||
$this->lazyLoadedPostalCodes,
|
$this->lazyLoadedPostalCodes,
|
||||||
function(PostalCode $pc) use ($value) {
|
function(PostalCode $pc = null) use ($value) {
|
||||||
return \call_user_func($value, $pc);
|
return \call_user_func($value, $pc);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user