sebastianbergmann/phpunit-mock-objects — pull request #69 by elblinkin (2011-10-24 22:16:51+00:00)
Title: Remove over-agressive type hint in mock object builder

According to line 160 of PHPUnit/Framework/MockObject/Generator.php null is also a valid value for $methods. Therefore, the type hint in the MockBuilder setMethods() method is overly agressive and should be removed so that the error log does not have to be cluttered with warnings.