diff --git a/test/code/formatPreservation/anonClasses.test b/test/code/formatPreservation/anonClasses.test index 2fdaa9d..b7896f2 100644 --- a/test/code/formatPreservation/anonClasses.test +++ b/test/code/formatPreservation/anonClasses.test @@ -21,7 +21,7 @@ new class ----- // Ignore name assigned to anon class $new = $stmts[0]->expr; -$new->class->name = new Node\Name('Anon1'); +$new->class->name = new Node\Identifier('Anon1'); -----