1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-05 21:19:03 +01:00
psalm/docs/running_psalm/issues/InvalidNamedArgument.md
2020-10-02 21:01:55 -04:00

13 lines
247 B
Markdown

# InvalidNamedArgument
Emitted when a supplied function/method argument name is incompatible with the function/method signature.
```php
<?php
function takesArguments(string $name, int $age) : void {}
takesArguments(name: "hello", ag: 5);
```