8000 minor #30667 [Validator] BIC remove unused sprintf and parameter (kaz… · symfony/symfony@76260e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 76260e7

Browse files
committed
minor #30667 [Validator] BIC remove unused sprintf and parameter (kaznovac)
This PR was merged into the 4.3-dev branch. Discussion ---------- [Validator] BIC remove unused sprintf and parameter | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT removed surplus parameter and sprintf as there are no placeholders in message template Commits ------- 131e495 [Validator] BIC remove unused sprintf and parameter
2 parents dbb91e4 + 131e495 commit 76260e7

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Component/Validator/Constraints

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Constraints/Bic.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function __construct($options = null)
5353
}
5454

5555
if (isset($options['iban']) && isset($options['ibanPropertyPath'])) {
56-
throw new ConstraintDefinitionException(sprintf('The "iban" and "ibanPropertyPath" options of the Iban constraint cannot be used at the same time.', self::class));
56+
throw new ConstraintDefinitionException('The "iban" and "ibanPropertyPath" options of the Iban constraint cannot be used at the same time.');
5757
}
5858

5959
if (isset($options['ibanPropertyPath']) && !class_exists(PropertyAccess::class)) {

0 commit comments

Comments
 (0)
0