- Comparison made before transforming to string was skipping nulls and not nulls but empty

This commit is contained in:
Dave Mc Nicoll committed 2025-04-03 19:38:48 +00:00
1 parent 9556dea849
commit 1ec582d1ac
1 file changed
+4
+4
View File
@@ -319,6 +319,10 @@ class Repository implements RepositoryInterface
}
}
if (is_null($e1) || is_null($e2)) {
return $e1 !== $e2;
}
return (string) $e1 !== (string) $e2;
});
}