Jump to content

PHPDoc doesn't recognise visibility?


LemonInflux

Recommended Posts

Just a quick question - is this my version, or is it the same for everyone?

 

class whatever {
public $var;
}

 

Not the best of examples, but PHPDoc won't recognise the var. If it was var $var it would, but public $var, or private $var, or protected $var, etc. doesn't work. Does anyone know why?

Link to comment
https://forums.phpfreaks.com/topic/115983-phpdoc-doesnt-recognise-visibility/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.