Sfoglia il codice sorgente

Remove ModelAutocompleteType::getParent override

This override is useless because it's the default behavior of
Symfony\Component\Form\AbstractType
Sullivan SENECHAL 9 anni fa
parent
commit
a6c0357ffe
1 ha cambiato i file con 0 aggiunte e 8 eliminazioni
  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}
      */