diff --git a/src/PhpParser/Node/FileNode.php b/src/PhpParser/Node/FileNode.php index c39b2d0c27b..4611c641578 100644 --- a/src/PhpParser/Node/FileNode.php +++ b/src/PhpParser/Node/FileNode.php @@ -22,7 +22,7 @@ /** * Inspired by https://github.com/phpstan/phpstan-src/commit/ed81c3ad0b9877e6122c79b4afda9d10f3994092 */ -class FileNode extends Stmt +final class FileNode extends Stmt { /** * Imports queued to be added on the next UseAddingPostRector run; scoped to this file