summaryrefslogtreecommitdiffstats
path: root/src/Plugin/ForbiddenNullValuesValidator.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Plugin/ForbiddenNullValuesValidator.php')
-rw-r--r--src/Plugin/ForbiddenNullValuesValidator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Plugin/ForbiddenNullValuesValidator.php b/src/Plugin/ForbiddenNullValuesValidator.php
index ce1045c..831b79b 100644
--- a/src/Plugin/ForbiddenNullValuesValidator.php
+++ b/src/Plugin/ForbiddenNullValuesValidator.php
@@ -31,7 +31,7 @@ class ForbiddenNullValuesValidator
public function __invoke(array $row)
{
$res = array_filter($row, function ($value) {
- return is_null($value);
+ return null === $value;
});
return !$res;