Skip to content

Issues with array keys with $ #40

Closed
@christeredvartsen

Description

@christeredvartsen

Bug report

Not completely sure if this is an issue with phpstan, or underlying libraries that parse doc-blocks, but I'll start here. If you feel this should be reported in a different repo, feel free to point me in the right direction.

Code snippet that reproduces the problem

https://phpstan.org/r/fadf7cdd-6ab0-4a1a-b4b0-4534371c0680

Expected output

The issue is that I can't seem to document the array key called $ref. I have tried to escape the $, but that does not seem to help.

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