I have class A with some method that returns bool value. I made phpdoc for that method.
I made another class B which extends class A and overrides method. New method returns string. (I understand that in common case change the return type is not a good idea, but in my case it's a good way.)
I want to make phpdoc for new method. I could use {@inheritDoc}, but it takes full phpdoc from old method. I want to take from old phpdoc general method description and specification of arguments, but change description of return value.
How could I do it?
{@see}