cakephp/cakephp — pull request #2433 by glorand (2013-12-05 10:08:44+00:00)
Title: Check if the item is an array.

Using the Hash::extract function I found a small "bug".
Step to reproduce:
You have an array and you want to extract some data from this array. If you interrogate for an item/data witch exists and is asked like an array, but isn't array the Utility class expect a warning.

Solution:
Instead send any type of data as a first parameter to the "__matches" function, I check if the parameter if is an array.