Skip to content

Commit 2a0bd01

Browse files
committed
fix the method Type::isGenericType()
1 parent 9213055 commit 2a0bd01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Type.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function isClass(): bool
176176

177177
public function isGenericType(): bool
178178
{
179-
return ($this->isClass() || $this->interface()) && $this->arguments ? true : false;
179+
return ($this->isClass() || $this->isInterface()) && $this->arguments ? true : false;
180180
}
181181

182182
public function isGenericParameter(): bool

0 commit comments

Comments
 (0)