[DoctrineQueryBuilder] Remove useless attribute