Except that the callable type hint is only available starting in 5.4, and
we support 5.3...
On Jan 21, 2013 12:35 PM, "Kathryn Reeve" <notifications@github.com> wrote:

> In library/Zend/Authentication/Adapter/DbTable.php:
>
> > @@ -192,6 +205,18 @@ public function setCredentialTreatment($treatment)
> >          $this->credentialTreatment = $treatment;
> >          return $this;
> >      }
> > +    /**
> > +     * setCredentialValidationCallback() - allows the developer to use a callback as a way of checking the
> > +     * credential.
> > +     *
> > +     * @param  callable $validationCallback
> > +     * @return DbTable Provides a fluent interface
> > +     */
> > +    public function setCredentialValidationCallback($validationCallback)
> > +    {
> > +        $this->credentialValidationCallback = $validationCallback;
>
> The original had callable as a typehint which mean that it didn't need the
> check. This should have been caught in cf6755f<https://github.com/zendframework/zf2/commit/cf6755f>
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/zendframework/zf2/pull/3490/files#r2716396>.
>
>