Skip to content

Commit 2883743

Browse files
committed
use constraint options instead of properties
1 parent 9d9e56c commit 2883743

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Constraints/Email.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ public function __construct($options = null)
8181
}
8282

8383
if (\is_array($options) && array_key_exists('checkMX', $options)) {
84-
@trigger_error('The "checkMX" property is deprecated since Symfony 4.2.', E_USER_DEPRECATED);
84+
@trigger_error('The "checkMX" option is deprecated since Symfony 4.2.', E_USER_DEPRECATED);
8585
}
8686

8787
if (\is_array($options) && array_key_exists('checkHost', $options)) {
88-
@trigger_error('The "checkHost" property is deprecated since Symfony 4.2.', E_USER_DEPRECATED);
88+
@trigger_error('The "checkHost" option is deprecated since Symfony 4.2.', E_USER_DEPRECATED);
8989
}
9090

9191
if (\is_array($options) && array_key_exists('mode', $options) && !\in_array($options['mode'], self::$validationModes, true)) {

0 commit comments

Comments
 (0)