Answer the question
In order to leave comments, you need to log in
Is it possible to disable the @inheritDoc tag in Phpstorm?
for example, when I write documentation for interface methods, and then at the class, I start generating interface methods, then the @inheritDoc tag appears in the description instead of the dock that I wrote. Here's what I mean:
interface IAffiliate
{
/**
* @return string - ссылка для регистрации нового пользователя.
*/
public function urlForRegistration(): string;
/**
* @param int $needleLevel - необходимый уровень рефераллов
* 0 - показать всех рефераллов
* @return Referral[] - массив реферралов
*/
public function showYourRefs(int $needleLevel = 0): array;
/**
* @return int - общее кол-во рефералов
*/
public function totalCountRefs(): int;
/**
* @param User $referralUser - пользователь которого нужно добавить в качестве реферала к текущему родителю
*/
public function attachReferral(User $referralUser): void;
}
/**
* @inheritDoc
*/
public function urlForRegistration(): string
{
// TODO: Implement urlForRegistration() method.
}
/**
* @inheritDoc
*/
public function showYourRefs(int $needleLevel = 0): array
{
// TODO: Implement showYourRefs() method.
}
/**
* @inheritDoc
*/
public function totalCountRefs(): int
{
// TODO: Implement totalCountRefs() method.
}
/**
* @inheritDoc
*/
public function attachReferral(User $referralUser): void
{
// TODO: Implement attachReferral() method.
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question