mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
Merge remote-tracking branch 'origin/upgrade-sf3' into upgrade-sf3
This commit is contained in:
commit
c7ad381aac
@ -225,7 +225,8 @@ class PersonController extends Controller
|
||||
}
|
||||
|
||||
$form = $this->createForm(
|
||||
CreationPersonType::NAME,
|
||||
//CreationPersonType::NAME,
|
||||
CreationPersonType::class,
|
||||
new Person(),
|
||||
array(
|
||||
'action' => $this->generateUrl('chill_person_create'),
|
||||
@ -324,7 +325,7 @@ class PersonController extends Controller
|
||||
return $r;
|
||||
}
|
||||
|
||||
$form = $this->createForm(CreationPersonType::NAME, null, array(
|
||||
$form = $this->createForm(CreationPersonType::class, null, array(
|
||||
'form_status' => CreationPersonType::FORM_REVIEWED
|
||||
));
|
||||
|
||||
|
@ -53,4 +53,4 @@ Chill\PersonBundle\Entity\AccompanyingPeriod:
|
||||
groups: [closed]
|
||||
constraints:
|
||||
- Callback:
|
||||
methods: [isDateConsistent]
|
||||
callback: isDateConsistent
|
||||
|
Loading…
x
Reference in New Issue
Block a user