Invalid PHP Inspection
In PHPStorm 2017.1.2, the following code generates an error in the line 8.
<?php
$isSame = function ($a, $b) {
return $a === $b;
};
$isA = function ($var) use ($isSame) {
return $isSame($var, 'A');
};
return $isA('A');
The error is "Method call uses 2 parameters, but method signature uses 1 parameters".
I think, it's ok...

请先登录再写评论。
Hi there,
Seems similar: https://youtrack.jetbrains.com/issue/WI-35921