zendframework/zf2 — pull request #4496 by Ocramius (2013-05-17 23:01:01+00:00)
Title: Cclass methods hydrator skips getters with optional parameters

Currently, `Zend\Stdlib\Hydrator\ClassMethods` skips getters like `getFoo($bar = null)` as they have `>0` parameters.

This hotfix allows to call those methods as long as all parameters are optional.