Remove and change unrelevant comments in Validator and Security components.

This commit is contained in:
Hugo Hamon 2016-07-01 21:54:14 +02:00
parent e262ef046b
commit 2cec4a61ef
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; 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 * @since 2.4
* *

View File

@ -199,7 +199,7 @@ class ConstraintViolationBuilder implements ConstraintViolationBuilderInterface
$this->message, $this->message,
$this->plural, $this->plural,
$this->parameters, $this->parameters,
$this->translationDomain# $this->translationDomain
); );
} catch (\InvalidArgumentException $e) { } catch (\InvalidArgumentException $e) {
$translatedMessage = $this->translator->trans( $translatedMessage = $this->translator->trans(