Skip to content

Commit 0007fd0

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: Fix htaccess sample to use index.php instead of app.php [Form] Fix form events phpdocs
2 parents a9432b6 + 1518147 commit 0007fd0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Event/PostSetDataEvent.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
/**
1717
* This event is dispatched at the end of the Form::setData() method.
1818
*
19-
* This event is mostly here for reading data after having pre-populated the form.
19+
* It can be used to modify a form depending on the populated data (adding or
20+
* removing fields dynamically).
2021
*/
2122
final class PostSetDataEvent extends FormEvent
2223
{

Event/PreSetDataEvent.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
/**
1717
* This event is dispatched at the beginning of the Form::setData() method.
1818
*
19-
* It can be used to:
20-
* - Modify the data given during pre-population;
21-
* - Modify a form depending on the pre-populated data (adding or removing fields dynamically).
19+
* It can be used to modify the data given during pre-population.
2220
*/
2321
final class PreSetDataEvent extends FormEvent
2422
{

0 commit comments

Comments
 (0)