$this->linkId of type integer is incompatible with the type mysqli expected by parameter $link of mysqli_real_escape_string().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation