Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 202 Bytes

MismatchingDocblockParamType.md

File metadata and controls

12 lines (9 loc) · 202 Bytes

MismatchingDocblockParamType

Emitted when an @param entry in a function’s docblock does not match the param typehint

<?php

/**
 * @param int $b
 */
function foo(string $b) : void {}