PHPStorm delcaration error noted