InvalidNamedArgument# Emitted when a supplied function/method argument name is incompatible with the function/method signature. <?php function takesArguments(string $name, int $age) : void {} takesArguments(name: "hello", ag: 5); Get Psalm news by email News about Psalm, a few emails a month. You can unsubscribe at any time. Email Subscribe I accept the privacy policy