Skip to content

Commit

Permalink
Revert "Un-finalize Printer"
Browse files Browse the repository at this point in the history
This reverts commit 1abeeb7.
  • Loading branch information
ondrejmirtes committed Nov 27, 2024
1 parent 1abeeb7 commit 07d7c44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions build/PHPStan/Build/FinalClassRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use PHPStan\Analyser\Scope;
use PHPStan\File\FileHelper;
use PHPStan\Node\InClassNode;
use PHPStan\Node\Printer\Printer;
use PHPStan\Reflection\FunctionVariant;
use PHPStan\Reflection\ExtendedFunctionVariant;
use PHPStan\Reflection\Php\DummyParameter;
Expand Down Expand Up @@ -55,7 +54,6 @@ public function processNode(Node $node, Scope $scope): array
ExtendedFunctionVariant::class,
DummyParameter::class,
PhpFunctionFromParserNodeReflection::class,
Printer::class,
], true)) {
return [];
}
Expand Down
2 changes: 1 addition & 1 deletion src/Node/Printer/Printer.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
* @api
*/
class Printer extends Standard
final class Printer extends Standard
{

public function __construct()
Expand Down

0 comments on commit 07d7c44

Please sign in to comment.