Browse Source

fix namespace for ErrorElement

Thomas Rabaix 10 years ago
parent
commit
c30b4889d9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Admin/Admin.php

+ 2 - 2
Admin/Admin.php

@@ -26,8 +26,8 @@ use Sonata\AdminBundle\Datagrid\ListMapper;
 use Sonata\AdminBundle\Datagrid\DatagridMapper;
 use Sonata\AdminBundle\Show\ShowMapper;
 
-use Sonata\CoreBundle\Validator\ErrorElement;
-use Sonata\CoreBundle\Validator\Constraints\InlineConstraint;
+use Sonata\AdminBundle\Validator\ErrorElement;
+use Sonata\AdminBundle\Validator\Constraints\InlineConstraint;
 
 use Sonata\AdminBundle\Translator\LabelTranslatorStrategyInterface;
 use Sonata\AdminBundle\Builder\FormContractorInterface;