vlucas/valitron — pull request #107 by vandarin (2014-09-18 16:14:11+00:00)
Title: Check and set label

I ran into an 'illegal offset' warning when using this particular combination of rules and messages. checkAndSetLabel() was trying to use a DateTime object as an array key. I changed the check from !is_array() to (is_numeric($params[$k]) || is_string($params[$k])).