From 2cec4a61efe2e17073522ea8fdbec978577510a2 Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Fri, 1 Jul 2016 21:54:14 +0200 Subject: [PATCH] Remove and change unrelevant comments in Validator and Security components. --- .../Security/Csrf/TokenStorage/SessionTokenStorage.php | 2 +- .../Validator/Violation/ConstraintViolationBuilder.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Security/Csrf/TokenStorage/SessionTokenStorage.php b/src/Symfony/Component/Security/Csrf/TokenStorage/SessionTokenStorage.php index a6a6ea3894..a3ee0a13c9 100644 --- a/src/Symfony/Component/Security/Csrf/TokenStorage/SessionTokenStorage.php +++ b/src/Symfony/Component/Security/Csrf/TokenStorage/SessionTokenStorage.php @@ -15,7 +15,7 @@ use Symfony\Component\HttpFoundation\Session\SessionInterface; use Symfony\Component\Security\Csrf\Exception\TokenNotFoundException; /** - * Token storage that uses a Symfony2 Session object. + * Token storage that uses a Symfony Session object. * * @since 2.4 * diff --git a/src/Symfony/Component/Validator/Violation/ConstraintViolationBuilder.php b/src/Symfony/Component/Validator/Violation/ConstraintViolationBuilder.php index d7d3877aed..cceb6dea98 100644 --- a/src/Symfony/Component/Validator/Violation/ConstraintViolationBuilder.php +++ b/src/Symfony/Component/Validator/Violation/ConstraintViolationBuilder.php @@ -199,7 +199,7 @@ class ConstraintViolationBuilder implements ConstraintViolationBuilderInterface $this->message, $this->plural, $this->parameters, - $this->translationDomain# + $this->translationDomain ); } catch (\InvalidArgumentException $e) { $translatedMessage = $this->translator->trans(