Skip to content

Useless ?? not reported #7190

@VincentLanglet

Description

@VincentLanglet

Bug report

Code snippet that reproduces the problem

https://phpstan.org/r/215dfa6d-cd14-4622-83de-c19b36bdc63f

Expected output

An error about the useless ??.
I'm surprised because the dump type is int.

Did PHPStan help you today? Did it make you happy in any way?

Everyday :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions