peej/phpdoctor — Issue #61: @var type description not parsed correctly
Author: wdoekes
Created: 2012-03-01 10:22:50+00:00
State: open

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.