Remove and change unrelevant comments in Validator and Security components.
This commit is contained in:
parent
e262ef046b
commit
2cec4a61ef
@ -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
|
||||||
*
|
*
|
||||||
|
@ -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(
|
||||||
|
Reference in New Issue
Block a user