[Console] Return $this in phpdocs in chained Question methods

| Q             | A
| ------------- | ---
| Fixed tickets | -
| License       | MIT

So any IDE (or Scrutinizer etc) can understand that it isn't necessarily a Question instance, but when called on ChoiceQuestion or ConfirmationQuestion, it will return that class also.

This probably could be done to a lot of other chained functions, but I wanted to know if you are okay with this, and if it's okay to submit to 2.5, or should it be at master instead?


In NetBeans, it's actually not supported, but `this` is supported for some reason. See open bug: https://netbeans.org/bugzilla/show_bug.cgi?id=239987
I tested with this:

    class A {
        /** @return self */
        public function getSelf() {}
        /** @return static */
        public function getStatic() {}
        /** @return $this */
        public function getThis() {}
    }
    class B extends A {
        public function isB(){}
    }

    $b = new B();

    $b->getSelf()->isB(); 
    $b->getStatic()->isB(); 
    $b->getThis()->isB();

In NetBeans, `getSelf` and `getStatic` are correct, `getThis` not. phpStorm is also correct with `getThis`

But I still think that we should stick to the proposed `$this`, as that is what the (proposal) PSR-5 states and what the IDEs _should_ support. And mainly because it more clear for the developers reading the source.