PHP inspection forcing function argument typing regardless of PHPDoc comment
I'm looking for inspection which will force me to type all function agruments. Eg:
function nameExample(string $okAgr, string $anotherOkArg, $BADArgWithoutType)
I want it to work no matter what PHP Doc says or if PHP Doc is present or not.
请先登录再写评论。
Unfortunately, there is no specific inspection for that. Here is a similar request:
https://youtrack.jetbrains.com/issue/WI-30006
I have left a comment with a link to this forum thread to raise the up in queue.