Mark all result methods in AbstractQuery as impure #1307
Annotations
4 errors
PHPStan:
stubs/ORM/AbstractQuery.stub#L30
Method Doctrine\ORM\AbstractQuery::getResult() uses native union types but they're supported only on PHP 8.0 and later.
|
PHPStan:
stubs/ORM/AbstractQuery.stub#L63
Method Doctrine\ORM\AbstractQuery::getOneOrNullResult() uses native union types but they're supported only on PHP 8.0 and later.
|
PHPStan:
stubs/ORM/AbstractQuery.stub#L73
Method Doctrine\ORM\AbstractQuery::getSingleResult() uses native union types but they're supported only on PHP 8.0 and later.
|
PHPStan
Process completed with exit code 2.
|
Loading