Answer the question
In order to leave comments, you need to log in
Why doesn't PhpStorm recognize method call chains?
Strangely, PhpStorm does not recognize methods in the call chain other than the first one and shows that the method does not exist.
Prompt how to teach to recognize or eliminate this problem.
On the screen is an example. Storm version 2018.1.4
Answer the question
In order to leave comments, you need to log in
/**
* @return self
*/
protected function chainMethod2(): self
{
}
* @method self setReplaceName()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question