The global function contains($items) passes the wrong variable to the static
factory method:
function contains(array $items)
{
return Hamcrest_Matchers::contains($matchers);
}
The function body should pass $items
return Hamcrest_Matchers::contains($items);
Original issue reported on code.google.com by emperorf...@gmail.com on 18 Jun 2010 at 10:19
Original issue reported on code.google.com by
emperorf...@gmail.com
on 18 Jun 2010 at 10:19