How programmatically hide notice about undefined method. PhpStorm

I have simple class with fields: 

class Simple {

 private $data;

}

 

If i will write:

(new Simple())->getData();

 

PhpStorm highlights method "getData" like undefined method.

How me programmatically create analog PhpDoc:

@method getData()

0

Please sign in to leave a comment.