jsv4-php icon indicating copy to clipboard operation
jsv4-php copied to clipboard

allow null value when field is not required

Open plong0 opened this issue 9 years ago • 0 comments

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.

plong0 avatar Sep 07 '16 19:09 plong0