-
Notifications
You must be signed in to change notification settings - Fork 356
DeepComparer returns false when compares null with null #806
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
🚀 @forrest79, thanks for your contribution! Every idea, bug report, and discussion helps make this project better. Your input is invaluable, and we appreciate the time you took to share it. A maintainer will review it soon—stay awesome! 💡✨ ⭐ Enjoying contributing? Star the project! ⭐Your contributions help this project grow, and we'd love your support in another way too! If you find this repo helpful, consider leaving a star 🌟 on GitHub. |
Had the same issue as well. I fixed it by adding this at the beginning of DeepComparer::isEqual:
Not sure if this is the right fix but it works. |
Fixes null not equal to null. Issue: #806
Hi,
I found out, that this code returns
false
:var_dump(DeepComparer::isEqual(null, null));
.I used temporary fix in our repo:
The text was updated successfully, but these errors were encountered: