The method getText() does not exist on DH\Adf\Node\Node. It seems like you code against a sub-type of DH\Adf\Node\Node such as DH\Adf\Node\Inline\Status or DH\Adf\Node\Inline\Mention or DH\Adf\Node\Inline\Text or DH\Adf\Node\Inline\Emoji.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation