Skip to content

MIR0210

MismatchingDocblockParamType

A docblock @param type doesn’t match the inferred type from the function body.

<?php
// TODO: minimal example that triggers MismatchingDocblockParamType.

TODO: explain the typical fix or how to suppress.