1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-05 13:10:49 +01:00
psalm/docs/running_psalm/issues/InvalidDocblockParamName.md
Tom Klingenberg ea52b9d23a
Fix minor typos in docs (#3956)
While I was searching for some code, ran across these.
2020-08-08 08:09:41 -04:00

15 lines
269 B
Markdown

# InvalidDocblockParamName
Emitted when a docblock param name does not match up with a named param in the function, if the param does not have a type or its type is `array`.
```php
<?php
/**
* @param string[] $bar
*/
function foo(array $barb): void {
//
}
```