tobyS / pdv

PHP Documentor for VIM - Generates PHP docblocks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding a type to an attribute breaks PDV

kenguest opened this issue · comments

If I add a typed attribute to a class
class Foo {
protected string $name = '';
}

and use pdv to add a comment to this attribute, I get an error/exception displayed at the bottom of the vim screen:

"Error detected while processing function pdv#DocumentWithSnip[3]..97_DetermineParseConfig:
E605: Exception not caught: Could not detect parse config for ' protected string $name = '';'

I think this happens for other types as well.