Skip to content

Commit 76f8760

Browse files
committed
TemplateObjectWithoutClassType - similar fix to ff7311a
1 parent 0dfa034 commit 76f8760

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Type/Generic/TemplateObjectWithoutClassType.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ public function equals(Type $type): bool
149149
{
150150
return $type instanceof self
151151
&& $type->scope->equals($this->scope)
152-
&& $type->name === $this->name
153-
&& parent::equals($type);
152+
&& $type->name === $this->name;
154153
}
155154

156155
public function isAcceptedBy(Type $acceptingType, bool $strictTypes): TrinaryLogic

0 commit comments

Comments
 (0)