We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f74394 commit 2fc1d70Copy full SHA for 2fc1d70
src/EmailChecker/Constraints/NotThrowawayEmailValidator.php
@@ -12,6 +12,7 @@
12
namespace EmailChecker\Constraints;
13
14
use EmailChecker\EmailChecker;
15
+use ReturnTypeWillChange;
16
use Symfony\Component\Validator\Constraint;
17
use Symfony\Component\Validator\ConstraintValidator;
18
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
@@ -36,6 +37,7 @@ public function __construct(?EmailChecker $emailChecker = null)
36
37
*
38
* @return void
39
*/
40
+ #[ReturnTypeWillChange]
41
public function validate($value, Constraint $constraint)
42
{
43
if (!$constraint instanceof NotThrowawayEmail) {
0 commit comments