$args is expanded, but the parameter $closure of Imanghafoori\HeyMan\Switching\Consider::turn() does not expect variable arguments.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
Are you sure the usage of $this->turn(self::methods[$method], $args) targeting Imanghafoori\HeyMan\Switching\Consider::turn() seems to always return null.
This check looks for function or method calls that always return null and whose
return value is used.