Browse Source

Add missing property declaration

Grégoire Paris 8 năm trước cách đây
mục cha
commit
1d9ef6ec97
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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
      */