fixes #6585

fixes #6585
If it's inherited, could you replace the docblock with `{@inheritDoc}`?