Skip to content

Commit e208c93

Browse files
committed
Fix after PHPStan update
1 parent 63956f7 commit e208c93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Rules/SwitchConditions/MatchingTypeInSwitchCaseConditionRule.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
use PhpParser\Node;
66
use PhpParser\Node\Stmt\Switch_;
7-
use PhpParser\PrettyPrinter\Standard;
87
use PHPStan\Analyser\Scope;
8+
use PHPStan\Node\Printer\Printer;
99
use PHPStan\Rules\Rule;
1010
use PHPStan\Rules\RuleErrorBuilder;
1111
use PHPStan\Type\VerbosityLevel;
@@ -17,9 +17,9 @@
1717
class MatchingTypeInSwitchCaseConditionRule implements Rule
1818
{
1919

20-
private Standard $printer;
20+
private Printer $printer;
2121

22-
public function __construct(Standard $printer)
22+
public function __construct(Printer $printer)
2323
{
2424
$this->printer = $printer;
2525
}

0 commit comments

Comments
 (0)