1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 10:57:08 +01:00
psalm/docs/running_psalm/issues/InvalidNamedArgument.md

13 lines
247 B
Markdown
Raw Normal View History

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