mirror of
https://github.com/danog/psalm.git
synced 2024-12-05 21:19:03 +01:00
13 lines
247 B
Markdown
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);
|
|
```
|
|
|