MIR0210
MismatchingDocblockParamType
A docblock @param type doesn’t match the inferred type from the function body.
Example
Section titled “Example”<?php// TODO: minimal example that triggers MismatchingDocblockParamType.How to fix
Section titled “How to fix”TODO: explain the typical fix or how to suppress.