From 0807720ece2538125dbdaf1590b57e80e0a155a0 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 6 May 2019 13:15:22 +0200 Subject: [PATCH] fixed CS --- .../Component/Validator/Constraints/CurrencyValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Validator/Constraints/CurrencyValidator.php b/src/Symfony/Component/Validator/Constraints/CurrencyValidator.php index cc25aa738e..ad60773a58 100644 --- a/src/Symfony/Component/Validator/Constraints/CurrencyValidator.php +++ b/src/Symfony/Component/Validator/Constraints/CurrencyValidator.php @@ -49,7 +49,7 @@ class CurrencyValidator extends ConstraintValidator $value = (string) $value; - if (!Currencies::exists($value)) { + if (!Currencies::exists($value)) { $this->context->buildViolation($constraint->message) ->setParameter('{{ value }}', $this->formatValue($value)) ->setCode(Currency::NO_SUCH_CURRENCY_ERROR)