Closed
Description
The following code
$result = $this->getEntityManager()
->getRepository(ProductCrossSell::class)
->createQueryBuilder('pcs')
->where('pcs.id IN (:ids)')
->setParameter('ids', $ids)
->delete()
->getQuery()
->getResult();
\PHPStan\dumpType($result);
Is considering $result
as an array. But it's an int: the number of deleted elements. Same with update()
It was introduce by #232 cc @arnaud-lb
Metadata
Metadata
Assignees
Labels
No labels