Removed unnecessary entity class binding from UserSearchType form type.

This commit is contained in:
Alexey Skobkin 2017-01-08 20:52:50 +03:00
parent fd3cd2d517
commit 25f15e40ba

View file

@ -4,7 +4,6 @@ namespace Skobkin\Bundle\PointToolsBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class UserSearchType extends AbstractType
{
@ -19,16 +18,6 @@ class UserSearchType extends AbstractType
;
}
/**
* {@inheritdoc}
*/
public function configureOptions(OptionsResolver $resolver)
{
$resolver->setDefaults([
'data_class' => 'Skobkin\Bundle\PointToolsBundle\Entity\User',
]);
}
/**
* @return string
*/