I\'m using doctrine DBAL and have some problem with SQL query as result of a queryBuilder.
$builder = $this->getConnection()->getQueryBuilder(); $builder-&
Try with
$builder->andWhere('type IN (:string)'); $builder->setParameter('string', array('first','second'), \Doctrine\DBAL\Connection::PARAM_STR_ARRAY);