Explorar o código

Add missing property declaration

Grégoire Paris %!s(int64=8) %!d(string=hai) anos
pai
achega
1d9ef6ec97
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Form/ChoiceList/ModelChoiceLoader.php

+ 2 - 0
Form/ChoiceList/ModelChoiceLoader.php

@@ -26,6 +26,8 @@ use Symfony\Component\PropertyAccess\PropertyPath;
  */
 class ModelChoiceLoader implements ChoiceLoaderInterface
 {
+    public $identifier;
+
     /**
      * @var \Sonata\AdminBundle\Model\ModelManagerInterface
      */