浏览代码

Add missing property declaration

Grégoire Paris 8 年之前
父节点
当前提交
1d9ef6ec97
共有 1 个文件被更改,包括 2 次插入0 次删除
  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
      */