From 131e4952698046cd39f80cc7d1d9d733f8a3bb4c Mon Sep 17 00:00:00 2001 From: Marko Kaznovac Date: Sun, 24 Mar 2019 14:40:33 +0100 Subject: [PATCH] [Validator] BIC remove unused sprintf and parameter --- src/Symfony/Component/Validator/Constraints/Bic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Validator/Constraints/Bic.php b/src/Symfony/Component/Validator/Constraints/Bic.php index 9637d9576a..c0eeade9a9 100644 --- a/src/Symfony/Component/Validator/Constraints/Bic.php +++ b/src/Symfony/Component/Validator/Constraints/Bic.php @@ -53,7 +53,7 @@ class Bic extends Constraint } if (isset($options['iban']) && isset($options['ibanPropertyPath'])) { - throw new ConstraintDefinitionException(sprintf('The "iban" and "ibanPropertyPath" options of the Iban constraint cannot be used at the same time.', self::class)); + throw new ConstraintDefinitionException('The "iban" and "ibanPropertyPath" options of the Iban constraint cannot be used at the same time.'); } if (isset($options['ibanPropertyPath']) && !class_exists(PropertyAccess::class)) {