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