Skip to content

@var type description not parsed correctly #61

@wdoekes

Description

@wdoekes

Hi,

I was trying to use the @var like this:
http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.var.pkg.html

/** @var type description */
public $somevar;

But that won't work.

(1) It requires a linefeed to even parse the @var,
(2) it won't convert the description into @text.

Attached, a possible fix, complete enough for my needs, but you'll probably want to tweak it.

Regards,
Walter Doekes
OSSO B.V.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions