Removed unnecessary entity class binding from UserSearchType form type.
This commit is contained in:
parent
fd3cd2d517
commit
25f15e40ba
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue