Explorar el Código

Remove ModelAutocompleteType::getParent override

This override is useless because it's the default behavior of
Symfony\Component\Form\AbstractType
Sullivan SENECHAL hace 9 años
padre
commit
a6c0357ffe
Se han modificado 1 ficheros con 0 adiciones y 8 borrados
  1. 0 8
      Form/Type/ModelAutocompleteType.php

+ 0 - 8
Form/Type/ModelAutocompleteType.php

@@ -150,14 +150,6 @@ class ModelAutocompleteType extends AbstractType
         $resolver->setRequired(array('property'));
     }
 
-    /**
-     * {@inheritdoc}
-     */
-    public function getParent()
-    {
-        return 'form';
-    }
-
     /**
      * {@inheritdoc}
      */