From 25f15e40ba9ff4b1cb680a30a41fd6d34c103123 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sun, 8 Jan 2017 20:52:50 +0300 Subject: [PATCH] Removed unnecessary entity class binding from UserSearchType form type. --- .../Bundle/PointToolsBundle/Form/UserSearchType.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Form/UserSearchType.php b/src/Skobkin/Bundle/PointToolsBundle/Form/UserSearchType.php index 48b6871..57eb3dc 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Form/UserSearchType.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Form/UserSearchType.php @@ -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 */