1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 10:17:33 +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);
```