Skip to content

Commit

Permalink
Fixed deprecation warnings about passing null as parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed May 16, 2021
1 parent 65525b9 commit 4665151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Constraints/IpValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function validate($value, Constraint $constraint)
break;

default:
$flag = null;
$flag = 0;
break;
}

Expand Down

0 comments on commit 4665151

Please sign in to comment.