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