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

This commit is contained in:
Dave Mc Nicoll 2025-04-03 19:37:58 +00:00
parent 9556dea849
commit 1ec582d1ac

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; return (string) $e1 !== (string) $e2;
}); });
} }