liangzai-cool / hamcrest

Automatically exported from code.google.com/p/hamcrest
0 stars 0 forks source link

PHP: hamcrest.php::contains($items) - wrong variable name #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by dharkn...@gmail.com on 12 Jul 2010 at 5:42