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!

0
5 comments

This should be filed as bug report to project issue tracker.

0

I have never filled issues. If some one would like to improve PHPStorm and upload this bug, you are welcome!

0

Hello Alexey,

I have never filled issues.

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!

0

Please sign in to leave a comment.