diff --git a/src/Symfony/Component/Form/Event/PostSetDataEvent.php b/src/Symfony/Component/Form/Event/PostSetDataEvent.php index eef537452acd9..e759308a1c536 100644 --- a/src/Symfony/Component/Form/Event/PostSetDataEvent.php +++ b/src/Symfony/Component/Form/Event/PostSetDataEvent.php @@ -16,7 +16,8 @@ /** * This event is dispatched at the end of the Form::setData() method. * - * This event is mostly here for reading data after having pre-populated the form. + * It can be used to modify a form depending on the populated data (adding or + * removing fields dynamically). */ final class PostSetDataEvent extends FormEvent { diff --git a/src/Symfony/Component/Form/Event/PreSetDataEvent.php b/src/Symfony/Component/Form/Event/PreSetDataEvent.php index 5450400e06820..2644fda19cd5a 100644 --- a/src/Symfony/Component/Form/Event/PreSetDataEvent.php +++ b/src/Symfony/Component/Form/Event/PreSetDataEvent.php @@ -16,9 +16,7 @@ /** * This event is dispatched at the beginning of the Form::setData() method. * - * It can be used to: - * - Modify the data given during pre-population; - * - Modify a form depending on the pre-populated data (adding or removing fields dynamically). + * It can be used to modify the data given during pre-population. */ final class PreSetDataEvent extends FormEvent {