Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add array type verification before accessing index (#49)
Since the $rule may now be array as well as a Closure, the array type must be checked before trying to access indexes. Also, `applyFilter` calls is corrected to respect it's signature. This should fix `ErrorException Illegal string offset 'name'` being thrown. Fixes #48
- Loading branch information