Skip to content

Remove type from templated value #4130

@snapshotpl

Description

@snapshotpl

Bug report

I want to cut off null type when use template from callable return type.

I don't if my solution is right, however in psalm this one works fine.

https://phpstan.org/r/f606a5ab-8e8d-4e2a-a04c-8ac7991f947a

Expected output

No error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions