mirror of
https://github.com/danog/psalm.git
synced 2024-12-04 18:48:03 +01:00
271 B
271 B
InvalidDocblockParamName
Emitted when a docblock param name doesn’t match up with a named param in the function, if the param doesn’t have a type or its type is array
.
<?php
/**
* @param string[] $bar
*/
function foo(array $barb): void {
//
}