I have class \App\Console\Kernel which extends from vendor class \Illuminate\Foundation\Console\Kernel. In vendor class there is $commands protected property with no type declaration, so in my own class I could not declare property type.
protected $commands = [
// commands ...
];
But PhpStorm gives me next error:
Missing property's type declaration
Inspection info: Reports the properties that have no type declaration.
What to do?