Skip to content

Unable to resolve the template type when pure intersection types used #6904

@snapshotpl

Description

@snapshotpl

Bug report

Starts after update to 1.5.0.

Code snippet that reproduces the problem

https://phpstan.org/r/05c256e6-e1d5-4569-a05e-e0d8cbd4b038

Expected output

No error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions