Thanks to visit codestin.com
Credit goes to github.com

Skip to content

non-null vs. nullable states #6486

@staabm

Description

@staabm

Bug report

phpstan should realize that $this->exclude cannot be null at the point it errors atm

Code snippet that reproduces the problem

https://phpstan.org/r/256fcdb9-625b-4fb6-8331-5a3d9b50a4e0

Expected

no error

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions