Skip to content

Bugfix

Compare
Choose a tag to compare
@willemwollebrants willemwollebrants released this 31 Oct 09:09
· 153 commits to master since this release
87775d7

The validateRequired method required $fields to be an array, and this broke compatibility with objects that implement PHP's ArrayAccess interface.

Please note that while ArrayAccess-objects will probably work most of the time, Valitron is meant to be used with actual arrays.