Skip to content

Unexpected "UndefinedDocblockClass" while using '@psalm-var' #4029

@alexandrmazur96

Description

@alexandrmazur96

Got UndefinedDocblockClass when using @psalm-var like this:

https://psalm.dev/r/f591a025ba

But, if we use @psalm-var in the following way - psalm found @psalm-type correctly:

https://psalm.dev/r/b25dc26b96

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions