Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 269 Bytes

InvalidDocblockParamName.md

File metadata and controls

14 lines (11 loc) · 269 Bytes

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 {
    //
}