Open DanielTate opened 10 months ago
I have some code
private static $var = ['somevalue' => 'another value'];
This code is used by the parent class but still provides the notice "Symbol '$var' is declared but not used.
"Symbol '$var' is declared but not used.
Is there a way to disable this note? I am definitely using the symbol in another file?
I'm half a year late but the @disregard phpdoc seems to remove this warning. I was looking for the same answer and just stumbled into it through trial and error
@disregard
I have some code
This code is used by the parent class but still provides the notice
"Symbol '$var' is declared but not used.
Is there a way to disable this note? I am definitely using the symbol in another file?