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)) {