- Comparison made before transforming to string was skipping nulls and not nulls but empty
This commit is contained in:
1 parent
9556dea849
commit
1ec582d1ac
1 file changed
+4
@@ -319,6 +319,10 @@ class Repository implements RepositoryInterface
|
||||
}
|
||||
}
|
||||
|
||||
if (is_null($e1) || is_null($e2)) {
|
||||
return $e1 !== $e2;
|
||||
}
|
||||
|
||||
return (string) $e1 !== (string) $e2;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user