diff --git a/src/Symfony/Component/Validator/Constraints/Bic.php b/src/Symfony/Component/Validator/Constraints/Bic.php index 9637d9576afa8..c0eeade9a9d48 100644 --- a/src/Symfony/Component/Validator/Constraints/Bic.php +++ b/src/Symfony/Component/Validator/Constraints/Bic.php @@ -53,7 +53,7 @@ public function __construct($options = null) } 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)) {