mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
10 lines
219 B
Markdown
10 lines
219 B
Markdown
# UnusedParam
|
|
|
|
Emitted when `--find-dead-code` is turned on and Psalm cannot find any uses of a particular parameter in a private method or function
|
|
|
|
```php
|
|
function foo(int $a, int $b) : int {
|
|
return $a + 4;
|
|
}
|
|
```
|