zendframework/zf2 — pull request #6083 by danfinnie (2014-04-04 04:12:42+00:00)
Title: NumberOfParameterFilter correctly handles argument count greater than 0.

The NumberOfParameterFilter used to have a constructor argument for the number of parameters to filter by, but this was ignored and always set to 0. Luckily, the use case for the filter was restricting the getter, is, has, etc. filters to 0-arity functions so this was OK. This pull request fixes the class to handle any number of arguments as shown in testArityOne().