jsv4-php
jsv4-php copied to clipboard
allow null value when field is not required
Currently if a field's value is null, the Validator::checkTypes method does not pass.
This patch allows a null value when the field's schema does not have required: true set.