When writing an inline comment like /** @var $myvar My\Namespace\MyClass */ it is not working. Even with \My\Namespace\MyClass.
The only way that works is by writing a use My\Namespace\MyClass at the start of the file.
My problem is that I have lot of classes with the same name under different namespaces. It would be great to be able to write explicitly the fullclass in the comment.
Hi,
When writing an inline comment like
/** @var $myvar My\Namespace\MyClass */
it is not working. Even with\My\Namespace\MyClass
.The only way that works is by writing a
use My\Namespace\MyClass
at the start of the file.My problem is that I have lot of classes with the same name under different namespaces. It would be great to be able to write explicitly the fullclass in the comment.
Thanks