Skip to content

Commit 1abeeb7

Browse files
committed
1 parent 265a39b commit 1abeeb7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build/PHPStan/Build/FinalClassRule.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use PHPStan\Analyser\Scope;
77
use PHPStan\File\FileHelper;
88
use PHPStan\Node\InClassNode;
9+
use PHPStan\Node\Printer\Printer;
910
use PHPStan\Reflection\FunctionVariant;
1011
use PHPStan\Reflection\ExtendedFunctionVariant;
1112
use PHPStan\Reflection\Php\DummyParameter;
@@ -54,6 +55,7 @@ public function processNode(Node $node, Scope $scope): array
5455
ExtendedFunctionVariant::class,
5556
DummyParameter::class,
5657
PhpFunctionFromParserNodeReflection::class,
58+
Printer::class,
5759
], true)) {
5860
return [];
5961
}

src/Node/Printer/Printer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
/**
2323
* @api
2424
*/
25-
final class Printer extends Standard
25+
class Printer extends Standard
2626
{
2727

2828
public function __construct()

0 commit comments

Comments
 (0)