In
https://github.com/composer/packagist/blob/2f8c458bcf24d1d47c7aa6a6eecac8995518d4c6/src/Entity/PhpStatRepository.php#L231
we conclude a return type of array{int}|false which seems wrong.
we should either return the correct type - or conclude the query is too complex to analyze