You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Constraints/Bic.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -52,8 +52,8 @@ public function __construct($options = null)
52
52
@trigger_error(sprintf('Using the "%s" constraint without the "symfony/intl" component installed is deprecated since Symfony 4.2.', __CLASS__), E_USER_DEPRECATED);
53
53
}
54
54
55
-
if (isset($options['iban']) && isset($options['ibanPropertyPath'])) {
56
-
thrownewConstraintDefinitionException(sprintf('The "iban" and "ibanPropertyPath" options of the Iban constraint cannot be used at the same time.', self::class));
55
+
if (isset($options['iban'], $options['ibanPropertyPath'])) {
56
+
thrownewConstraintDefinitionException('The "iban" and "ibanPropertyPath" options of the Iban constraint cannot be used at the same time.');
57
57
}
58
58
59
59
if (isset($options['ibanPropertyPath']) && !class_exists(PropertyAccess::class)) {
0 commit comments