jsv4-php
jsv4-php copied to clipboard
More coercive code
- Use
property_exists
for object checking - Coercive type hinting
(object) $this->data
for array value in object schema type, and(array) $this->data
for array schema type. - Coerce scalar values into string.