comparison vendor/symfony/validator/Constraints/IbanValidator.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
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