[Validator] BIC remove unused sprintf and parameter

This commit is contained in:
Marko Kaznovac 2019-03-24 14:40:33 +01:00
parent 0034a0f420
commit 131e495269

View File

@ -53,7 +53,7 @@ class Bic extends Constraint
} }
if (isset($options['iban']) && isset($options['ibanPropertyPath'])) { 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)) { if (isset($options['ibanPropertyPath']) && !class_exists(PropertyAccess::class)) {