ソースを参照

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
      */