mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 14:24:24 +00:00
fix deprecations: getName -> getBlockPrefix in forms
This commit is contained in:
parent
73f5295f40
commit
4b57510cc2
@ -84,7 +84,7 @@ class AccompanyingPeriodType extends AbstractType
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
public function getBlockPrefix()
|
||||
{
|
||||
return 'chill_personbundle_accompanyingperiod';
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
public function getBlockPrefix<?php
|
||||
|
||||
namespace Chill\PersonBundle\Form\Type;
|
||||
|
||||
@ -25,7 +25,7 @@ class ClosingMotiveType extends AbstractType
|
||||
}
|
||||
}
|
||||
|
||||
public function getName()
|
||||
public function getBlockPrefix()
|
||||
{
|
||||
return 'closing_motive';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user