incorrect 5.3 PHPDoc
Hi!
I'have tried use phpdoc autocomplete with this simple class
<?php
namespace Tv\Domain{
class Object {
protected $_parent;
function setParent($parent)
{
$this->_parent = $parent;
$parent->getChildren()->add($this);
return $this;
}
}
When I tried to use phpdoc over setParent, I have got the followed
/**
* @param $parent
* @return Tv\Domain\Object
*/
As you can see @return classes added without forwarded slash. So it would be resolved as Tv\Domain\Tv\Domain\Object
Thanks!
Please sign in to leave a comment.
This should be filed as bug report to project issue tracker.
Looks like it is it: http://youtrack.jetbrains.net/issue/WI-4494
I have never filled issues. If some one would like to improve PHPStorm and upload this bug, you are welcome!
Hello Alexey,
Our issue tracker(YouTrack) is another one JetBrains product. It is very handy to work with it. For authorization you can use your Google or Yahoo accounts.
Please try to report bugs directly to http://youtrack.jetbrains.net/issues/WI, otherwise your issues can be lost.
Thank you for report!
I reported an issue - http://youtrack.jetbrains.net/issue/WI-4923