How to disable warning for $this?
Posted: August 31st, 2018, 12:44 pm
Since a few last versions I started to notice that I am getting an warning when using $this variable in "global" scope of a view in Yii2 framework.
How can I disable this?
Even if I declare this as phpdoc @var at start of document I get this warning.
It's a little annoying, nothing else.
How can I disable this?
Even if I declare this as phpdoc @var at start of document I get this warning.
It's a little annoying, nothing else.