You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Constraints/Bic.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ public function __construct($options = null)
53
53
}
54
54
55
55
if (isset($options['iban']) && isset($options['ibanPropertyPath'])) {
56
-
thrownewConstraintDefinitionException(sprintf('The "iban" and "ibanPropertyPath" options of the Iban constraint cannot be used at the same time.', self::class));
56
+
thrownewConstraintDefinitionException('The "iban" and "ibanPropertyPath" options of the Iban constraint cannot be used at the same time.');
57
57
}
58
58
59
59
if (isset($options['ibanPropertyPath']) && !class_exists(PropertyAccess::class)) {
0 commit comments