From 224add2612df20db597de848c49e8ebf14d4c5fc Mon Sep 17 00:00:00 2001 From: Moritz Schroeder Date: Wed, 17 Feb 2016 20:09:56 +0100 Subject: [PATCH] Added @deprecated for BaseAbstractType and use correct "blockPrefix" --- Form/BaseAbstractType.php | 1 + Form/Type/ModelType.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Form/BaseAbstractType.php b/Form/BaseAbstractType.php index 233f0f5..c592cb4 100644 --- a/Form/BaseAbstractType.php +++ b/Form/BaseAbstractType.php @@ -16,6 +16,7 @@ use Symfony\Component\OptionsResolver\OptionsResolverInterface; /** * @author William DURAND + * @deprecated use AbstractType directly */ abstract class BaseAbstractType extends AbstractType { diff --git a/Form/Type/ModelType.php b/Form/Type/ModelType.php index 3a4dd98..f97c915 100644 --- a/Form/Type/ModelType.php +++ b/Form/Type/ModelType.php @@ -225,7 +225,7 @@ class ModelType extends AbstractType */ public function getBlockPrefix() { - return 'entity'; + return 'model'; } public function getParent()