Skip to content

How can I teach Valinor to understand generics of \Ds\Set? #529

Description

@simPod

My investigation reached DocParser::classTemplates(). It tries to read generics from doc comment of passed class.

My class is \Ds\Set. I guess there are no docblock comments for "native" classes.

That's why some stubs have been created https://github.com/JetBrains/phpstorm-stubs/blob/1650beae521d9dd1aee7dd208a68fbc9ec3765c6/ds/ds.php#L1885

Any idea how can I provide those stubs to Valinor?

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