We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65cd6cb commit 8f3ef5eCopy full SHA for 8f3ef5e
tests/PHPStan/Type/TemplateTypeTest.php
@@ -182,6 +182,12 @@ public function dataIsSuperTypeOf(): array
182
TrinaryLogic::createMaybe(), // T isSuperTypeTo mixed
183
TrinaryLogic::createYes(), // mixed isSuperTypeTo T
184
],
185
+ [
186
+ $templateType('T', new ObjectWithoutClassType()),
187
+ new ObjectWithoutClassType(),
188
+ TrinaryLogic::createMaybe(),
189
+ TrinaryLogic::createYes(),
190
+ ],
191
];
192
}
193
0 commit comments