My VIM has rubbish indentation for switch statements, so I tend never to
use them, but yeah I can change it here.
On Sun, Jan 13, 2013 at 02:54:53PM -0800, Lukas Kahwe Smith wrote:
> In lib/Doctrine/ODM/PHPCR/Query/Query.php:
> 
> > +            $this->setHydrationMode($hydrationMode);
> > +        }
> > +
> > +        if (null !== $this->maxResults) {
> > +            $this->query->setLimit($this->maxResults);
> > +        }
> > +
> > +        if (null !== $this->firstResult) {
> > +            $this->query->setOffset($this->firstResult);
> > +        }
> > +
> > +        foreach ($this->parameters as $key => $value) {
> > +            $this->query->bindValue($key, $value);
> > +        }
> > +
> > +        if ($this->hydrationMode === self::HYDRATE_PHPCR) {
> 
> why not use a switch statement here?
> 
> —
> Reply to this email directly or view it on GitHub.
> 
> *