Add method - what is the reason that it doesn't work in this case
Hi,
I would like to ask you with this problem.
I have a class with attribute:
/** @var \WebApp\Model\Vocabulary repository */
private $vocabulary;
And in one method I have:
return $this->vocabulary->processVocabularyUpdate($vocabularyUpdate);
The Vocabulary class hasn't implemented the method "processVocabularyUpdate", so the phpstorm to allow me click on add method. But it doesn't add method to the class Vocabulary - it does nothing.
Has someone any idea why it doesn't work?
Thanks
Please sign in to leave a comment.