Skip to content

Fix issue with illegal offset.

Compare
Choose a tag to compare
@sildraug sildraug released this 27 Nov 12:03
· 2 commits to master since this release
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 Waavi#48