Skip to content

Conversation

@vicary
Copy link

@vicary vicary commented Feb 27, 2017

  1. Use property_exists for object checking
  2. Coercive type hinting (object) $this->data for array value in object schema type, and (array) $this->data for array schema type.
  3. Coerce scalar values into string.

Vicary Archangel and others added 4 commits November 8, 2016 16:18
1. Use `property_exists` for object checking
2. Coercive type hinting `(object) $this->data` for array value in object schema type, and `(array) $this->data` for array schema type.
@vicary vicary changed the title Coerce array to objects More coercive code Feb 28, 2017
is_scalar() means most, if not all, values are convertible into strings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant