Currently all the type docblocks are united under one check. Most of the time Scrutinizer suggests to make something more specific and provides healthy suggestions like string[] instead of array, etc. But sometimes it just suggests these crazy guys: array<string,array<...,string>>>>
While I agree this is more specific, I've never seen that syntax before, it's not part of PSR5 as far as I know, and it's not understood by PHPStorm or any tools I've used (I'm still not sure I understand it myself to be honest). Is there a way to disable these specific suggestions but keep the more classic ones?
Currently all the type docblocks are united under one check. Most of the time Scrutinizer suggests to make something more specific and provides healthy suggestions like
string[]
instead ofarray
, etc. But sometimes it just suggests these crazy guys:array<string,array<...,string>>>>
While I agree this is more specific, I've never seen that syntax before, it's not part of PSR5 as far as I know, and it's not understood by PHPStorm or any tools I've used (I'm still not sure I understand it myself to be honest). Is there a way to disable these specific suggestions but keep the more classic ones?