# IfThisIsMismatch Emitted when the type in `@psalm-if-this-is` annotation cannot be contained by the object's actual type. ```php data = $data; } /** * @psalm-if-this-is a */ public function test(): void { } } $i = new a(123); $i->test(); $i = new a("test"); // IfThisIsMismatch - Class is not a as required by psalm-if-this-is $i->test(); ```