mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
fix deprecations: getName -> getBlockPrefix in forms
This commit is contained in:
@@ -36,7 +36,7 @@ use Chill\PersonBundle\Form\CreationPersonType;
|
||||
class CreationPersonType extends AbstractType
|
||||
{
|
||||
|
||||
const NAME = CreationPersonType::class;
|
||||
const NAME = 'chill_personbundle_person_creation';
|
||||
|
||||
const FORM_NOT_REVIEWED = 'not_reviewed';
|
||||
const FORM_REVIEWED = 'reviewed' ;
|
||||
@@ -128,7 +128,7 @@ class CreationPersonType extends AbstractType
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
public function getBlockPrefix()
|
||||
{
|
||||
return self::NAME;
|
||||
}
|
||||
|
Reference in New Issue
Block a user