Fix compatibility in Doctrine\DBAL\Portability\Connection