You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$sql = 'SELECT COUNT(*) count FROM package p WHERE p.suspect IS NOT NULL AND (p.replacementPackage IS NULL OR p.replacementPackage != "spam/spam")';
return (int) $this->getEntityManager()->getConnection()->fetchOne($sql);
Another one:
triggers
Cannot cast mixed to int
From https://github.com/composer/packagist/blob/bb486fc455c7c59544dd23d7508fcdf0fcc02023/src/Entity/PackageRepository.php#L467-L469
Seems to me like count is a clear case of returning int, but maybe I missed something :)
Seems like support should work as per
phpstan-dba/tests/default/data/pdo.php
Lines 155 to 160 in 5227c73
The text was updated successfully, but these errors were encountered: