Skip to content

Wrong type inferrence #196

@staabm

Description

@staabm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions