laravel/framework — pull request #4059 by jarektkaczyk (2014-04-06 19:50:45+00:00)
Title: Bugfix/make sometimes validation work on nested arrays

Introduce array_key_exists_recursive in order to be able to use 'sometimes' option for nested arrays. Additional 2 little helpers for easy getting first/last array element.