From 466515162104dcf955e289fcabef4f1df61885cf Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sat, 15 May 2021 19:17:06 +0200 Subject: [PATCH] Fixed deprecation warnings about passing null as parameter --- Constraints/IpValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Constraints/IpValidator.php b/Constraints/IpValidator.php index 11d3f52cd..e48d41e6d 100644 --- a/Constraints/IpValidator.php +++ b/Constraints/IpValidator.php @@ -93,7 +93,7 @@ public function validate($value, Constraint $constraint) break; default: - $flag = null; + $flag = 0; break; }