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

VarTag::initialize function wrong parse regex #128

Closed
xbg opened this issue Aug 1, 2017 · 1 comment · Fixed by #147
Closed

VarTag::initialize function wrong parse regex #128

xbg opened this issue Aug 1, 2017 · 1 comment · Fixed by #147
Labels

Comments

@xbg
Copy link

xbg commented Aug 1, 2017

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;
}
@tshakah
Copy link

tshakah commented Aug 3, 2018

There is a PR for this - is there any chance it can get merged?

weierophinney added a commit that referenced this issue Aug 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants