mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
ea52b9d23a
While I was searching for some code, ran across these.
269 B
269 B
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
/**
* @param string[] $bar
*/
function foo(array $barb): void {
//
}