8000 fix the constant value to be consistent with the name · symfony/symfony@0fc2282 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0fc2282

Browse files
committed
fix the constant value to be consistent with the name
1 parent b935b93 commit 0fc2282

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Form/FormEvents.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class FormEvents
3131
*
3232
* @Event("Symfony\Component\Form\FormEvent")
3333
*/
34-
const PRE_SUBMIT = 'form.pre_bind';
34+
const PRE_SUBMIT = 'form.pre_submit';
3535

3636
/**
3737
* The SUBMIT event is dispatched just before the Form::submit() method
@@ -41,7 +41,7 @@ final class FormEvents
4141
*
4242
* @Event("Symfony\Component\Form\FormEvent")
4343
*/
44-
const SUBMIT = 'form.bind';
44+
const SUBMIT = 'form.submit';
4545

4646
/**
4747
* The FormEvents::POST_SUBMIT event is dispatched after the Form::submit()
@@ -51,7 +51,7 @@ final class FormEvents
5151
*
5252
* @Event("Symfony\Component\Form\FormEvent")
5353
*/
54-
const POST_SUBMIT = 'form.post_bind';
54+
const POST_SUBMIT = 'form.post_submit';
5555

5656
/**
5757
* The FormEvents::PRE_SET_DATA event is dispatched at the beginning of the Form::setData() method.

0 commit comments

Comments
 (0)
0