We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b104b4 commit 6b13264Copy full SHA for 6b13264
src/Type/UnionType.php
@@ -253,11 +253,7 @@ public function isSuperTypeOfWithReason(Type $otherType): IsSuperTypeOfResult
253
}
254
$results[] = $result;
255
256
-
257
$result = IsSuperTypeOfResult::createNo()->or(...$results);
258
- if ($result->yes()) {
259
- return $result;
260
- }
261
262
if ($otherType instanceof TemplateUnionType) {
263
return $result->or($otherType->isSubTypeOfWithReason($this));
0 commit comments