minor #19269 [Validator] [Security] Remove unrelevant comments in Security and Validator components (hhamon)

This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] [Security] Remove unrelevant comments in Security and Validator components

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | ~

Commits
-------

2cec4a6 Remove and change unrelevant comments in Validator and Security components.
This commit is contained in:
Fabien Potencier 2016-07-02 18:12:19 +02:00
commit 4b9b6fb2d5
2 changed files with 2 additions and 2 deletions

View File

@ -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
*

View File

@ -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(