Permalink
Browse files

Update src/DMS/Bundle/FilterBundle/Form/Type/FormTypeFilterExtension.php

  • Loading branch information...
1 parent 0df4a75 commit 847f791499aab1fb5ae22c6cea489e0581076dd1 @guilhermeblanco guilhermeblanco committed May 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/DMS/Bundle/FilterBundle/Form/Type/FormTypeFilterExtension.php
@@ -2,7 +2,7 @@
namespace DMS\Bundle\FilterBundle\Form\Type;
use Symfony\Component\Form\AbstractTypeExtension;
-use Symfony\Component\Form\FormBuilder;
+use Symfony\Component\Form\FormBuilderInterface;
use DMS\Bundle\FilterBundle\Service\Filter;
use DMS\Bundle\FilterBundle\Form\EventListener\DelegatingFilterListener;
@@ -38,7 +38,7 @@ public function __construct(Filter $filterService, $autoFilter)
/**
* {@inheritdoc}
*/
- public function buildForm(FormBuilder $builder, array $options)
+ public function buildForm(FormBuilderInterface $builder, array $options)
{
if ( ! $this->autoFilter) return;

0 comments on commit 847f791

Please sign in to comment.