Skip to content

Commit d4b2c1f

Browse files
committed
Fix #10
1 parent 50f4d99 commit d4b2c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/php/lang/ast/syntax/php/Generics.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static function typename($type, $enclosing, $literal= false) {
8585
} else if ('self' === $type->literal || 'static' === $type->literal) {
8686
return $enclosing->name->name();
8787
} else if ('parent' === $type->literal) {
88-
return $enclosing->parent->name->name();
88+
return $enclosing->parent->name();
8989
} else if (
9090
$enclosing->name instanceof IsGenericDeclaration &&
9191
in_array($type->literal(), $enclosing->name->components())

0 commit comments

Comments
 (0)