diff --git a/src/Symfony/Component/Form/Extension/Core/EventListener/ValidationListener.php b/src/Symfony/Component/Form/Extension/Core/EventListener/ValidationListener.php index a10959ced4..389328cfbf 100644 --- a/src/Symfony/Component/Form/Extension/Core/EventListener/ValidationListener.php +++ b/src/Symfony/Component/Form/Extension/Core/EventListener/ValidationListener.php @@ -41,7 +41,7 @@ class ValidationListener implements EventSubscriberInterface } if (count($form->getExtraData()) > 0) { - $form->addError(new FormError('This form should not contain extra fields')); + $form->addError(new FormError('This form should not contain extra fields.')); } if ($form->isRoot() && isset($_SERVER['CONTENT_LENGTH'])) {