nette/nette — Issue #452: Missing heading backslash for classes with namespace in annotations
Author: misiak
Created: 2012-01-08 10:32:12+00:00
State: open

Some IDE's are not able to code hint methods because in annotations is missing heading backslash e.g.

Nette\Application\UI\Presenter.php annotations:

* @property-read Nette\Application\Application $application
* @property-read Nette\Http\Session $session
* @property-read Nette\Http\User $user

There has to be heading backslash, becase phpdoc needs fully qualified class names and these are not in Nette\Application\UI package:

* @property-read \Nette\Application\Application $application
* @property-read \Nette\Http\Session $session
* @property-read \Nette\Http\User $user

This problem is in all annotations in Nette Framework.