Details
Description
The Parameter-Types are not set in the Function cloneQuery in the Paginator-Class (Doctrine/ORM/Tools/Pagination/Paginator.php line 172):
$cloneQuery->setParameters($query->getParameters());
But it should be:
$cloneQuery->setParameters($query->getParameters(), $query->getParameterTypes());
Could you try to use latest master? This should already be solved as now parameters are instances of `Doctrine\ORM\Query\Parameter`, which also means that they enclose their type