8000 Fixed a typo · meistro2k/symfony@bca68ca · GitHub
[go: up one dir, main page]

Skip to 8000 content

Commit bca68ca

Browse files
committed
Fixed a typo
1 parent 7a233bc commit bca68ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Extension/Csrf/EventListener/CsrfValidationListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function preBind(FormEvent $event)
6565

6666
if ($form->isRoot() && $form->getConfig()->getOption('compound')) {
6767
if (!isset($data[$this->fieldName]) || !$this->csrfProvider->isCsrfTokenValid($this->intention, $data[$this->fieldName])) {
68-
$form->addError(new FormError('The CSRF token is invalid. Please try to resubmit the form'));
68+
$form->addError(new FormError('The CSRF token is invalid. Please try to resubmit the form.'));
6969
}
7070

7171
unset($data[$this->fieldName]);

0 commit comments

Comments
 (0)
0