10000 minor #19269 [Validator] [Security] Remove unrelevant comments in Sec… · symfony/symfony@4b9b6fb · GitHub
[go: up one dir, main page]

Skip to content

Commit 4b9b6fb

Browse files
committed
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.
2 parents ccf4935 + 2cec4a6 commit 4b9b6fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Security/Csrf/TokenStorage/SessionTokenStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\Security\Csrf\Exception\TokenNotFoundException;
1616

1717
/**
18-
* Token storage that uses a Symfony2 Session object.
18+
* Token storage that uses a Symfony Session object.
1919
*
2020
* @since 2.4
2121
*

src/Symfony/Component/Validator/Violation/ConstraintViolationBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public function addViolation()
199199
$this->message,
200200
$this->plural,
201201
$this->parameters,
202-
$this->translationDomain#
202+
$this->translationDomain
203203
);
204204
} catch (\InvalidArgumentException $e) {
205205
$translatedMessage = $this->translator->trans(

0 commit comments

Comments
 (0)
0