From 18d5a72159a2040c683c0022611f45b2b97b847d Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sat, 31 Oct 2026 22:46:38 +0700 Subject: [PATCH] [Printer] Remove unneeded BetterStandardPrinter::pStmt_FileNode() --- src/PhpParser/Printer/BetterStandardPrinter.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/PhpParser/Printer/BetterStandardPrinter.php b/src/PhpParser/Printer/BetterStandardPrinter.php index 73480d5460b..a5cb8c795e6 100644 --- a/src/PhpParser/Printer/BetterStandardPrinter.php +++ b/src/PhpParser/Printer/BetterStandardPrinter.php @@ -155,11 +155,6 @@ protected function p( return $content; } - protected function pStmt_FileNode(FileNode $fileNode): string - { - return $this->pStmts($fileNode->stmts); - } - protected function pExpr_ArrowFunction(ArrowFunction $arrowFunction, int $precedence, int $lhsPrecedence): string { if (! $arrowFunction->hasAttribute(AttributeKey::COMMENTS)) {