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