我一直在使用@var
标签记录类属性,但是当我运行 phpdoc 来生成文档时它会抱怨No DocBlock was found for property $someProperty
。
例如:
class MyClass {
/**
* Some property that should be documented
*
* @var mixed $someProperty
*/
protected $someProperty;
.
.
.
}