comparison vendor/symfony/validator/Constraints/IbanValidator.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 129ea1e6d783
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
179 179
180 return; 180 return;
181 } 181 }
182 182
183 // ...have a format available 183 // ...have a format available
184 if (!array_key_exists($countryCode, self::$formats)) { 184 if (!\array_key_exists($countryCode, self::$formats)) {
185 $this->context->buildViolation($constraint->message) 185 $this->context->buildViolation($constraint->message)
186 ->setParameter('{{ value }}', $this->formatValue($value)) 186 ->setParameter('{{ value }}', $this->formatValue($value))
187 ->setCode(Iban::NOT_SUPPORTED_COUNTRY_CODE_ERROR) 187 ->setCode(Iban::NOT_SUPPORTED_COUNTRY_CODE_ERROR)
188 ->addViolation(); 188 ->addViolation();
189 189