Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

VarTag::initialize function wrong parse regex #128

Closed
@xbg

Description

@xbg

According to the documentation $element_name is optional

But regex and logic in VarTag::initialize requires it.

Current VarTag variant can't parse first example from documentation

class Foo
{
  /** @var string|null Should contain a description */
  protected $description = null;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions