🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Self::class in Traits #4121

Description

@o5

Bug report

Using self::class in Traits should probably not throws errors.

Code snippet that reproduces the problem

https://phpstan.org/r/141cc3b7-70e1-4676-a61f-12c7cd9dbc0d
https://3v4l.org/38gr5

Expected output

Without 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