MIR0902
IfThisIsMismatch
A method annotated @if-this-is X<Y> was called on a receiver whose type does not satisfy that constraint.
Example
Section titled “Example”<?php/** @if-this-is Collection<int> */ // called on Collection<string>How to fix
Section titled “How to fix”Call the method only when the receiver matches the constraint.