Fixes enum constraint edge case with objects equality (#101)
Fixes enum constraint edge case with objects equality (#101)

* Fixes enum constraint edge case with objects equality

closes #100

* fix code style

yuloh/json-guard,machete-php/validation,machete-php/validation,yuloh/json-guard,thephpleague/json-guard