Scrutinizr does not like this change :D.

Envoyé de mon iPhone

> Le 24 déc. 2013 à 12:41, Daniel Gimenes <notifications@github.com> a écrit :
> 
> In src/ZfrRest/Mvc/Controller/Plugin/PaginatorWrapper.php:
> 
> > +
> > +        throw new RuntimeException(sprintf(
> > +            'No paginator adapter could be found for resource of type "%s"',
> > +            is_object($data) ? get_class($data) : gettype($data)
> > +        ));
> > +    }
> > +
> > +    /**
> > +     * Create a Criteria object
> > +     *
> > +     * @param  Criteria|array $criteria
> > +     * @return Criteria
> > +     */
> > +    private function createCriteria($criteria = [])
> > +    {
> > +        // If already a Criteria, do nothing...
> See the above comment, this way you can type hint array here.
> 
> —
> Reply to this email directly or view it on GitHub.