Skip to content

Trait methods not inferred correctly #941

Description

@gremo

I'm using EasyAdmin which fileds are defined like this (example TextField):

final class TextField implements FieldInterface
{
    use FieldTrait;

   // ....
}

FieldInterface has basically only the new static function while importat methods are in the FieldTrait itself.

It seems that trait methods not inferred correctly. Is that a problem of the PHP language server itself or the VSCode extension itself?

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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