Skip to content

Commit 26dd70c

Browse files
committed
FUCKING HELL
1 parent d28b7d1 commit 26dd70c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9133,7 +9133,7 @@ static void zend_compile_class_decl(znode *result, zend_ast *ast, bool toplevel)
91339133

91349134
CG(active_class_entry) = ce;
91359135

9136-
if (decl->child[3]) {
9136+
if (decl->child[3] && decl->child[3]->kind != ZEND_AST_GENERIC_TYPE_PARAM_LIST) {
91379137
zend_compile_attributes(&ce->attributes, decl->child[3], 0, ZEND_ATTRIBUTE_TARGET_CLASS, 0);
91389138
}
91399139

0 commit comments

Comments
 (0)