From b2f5520383b3bfcbed6adb3339cd9e61cfecc968 Mon Sep 17 00:00:00 2001 From: Kirill Nesmeyanov Date: Tue, 8 Oct 2024 18:54:11 +0300 Subject: [PATCH] Fix parser 1.0 compatibility --- src/PrettyPrinter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PrettyPrinter.php b/src/PrettyPrinter.php index eee438f..778aaca 100644 --- a/src/PrettyPrinter.php +++ b/src/PrettyPrinter.php @@ -30,8 +30,8 @@ use TypeLang\Parser\Node\Stmt\Shape\NamedFieldNode; use TypeLang\Parser\Node\Stmt\Shape\NumericFieldNode; use TypeLang\Parser\Node\Stmt\Shape\StringNamedFieldNode; -use TypeLang\Parser\Node\Stmt\Template\TemplateArgumentNode; -use TypeLang\Parser\Node\Stmt\Template\TemplateArgumentsListNode; +use TypeLang\Parser\Node\Stmt\Template\ArgumentNode as TemplateArgumentNode; +use TypeLang\Parser\Node\Stmt\Template\ArgumentsListNode as TemplateArgumentsListNode; use TypeLang\Parser\Node\Stmt\TernaryConditionNode; use TypeLang\Parser\Node\Stmt\TypesListNode; use TypeLang\Parser\Node\Stmt\TypeStatement;