We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63956f7 commit e208c93Copy full SHA for e208c93
src/Rules/SwitchConditions/MatchingTypeInSwitchCaseConditionRule.php
@@ -4,8 +4,8 @@
4
5
use PhpParser\Node;
6
use PhpParser\Node\Stmt\Switch_;
7
-use PhpParser\PrettyPrinter\Standard;
8
use PHPStan\Analyser\Scope;
+use PHPStan\Node\Printer\Printer;
9
use PHPStan\Rules\Rule;
10
use PHPStan\Rules\RuleErrorBuilder;
11
use PHPStan\Type\VerbosityLevel;
@@ -17,9 +17,9 @@
17
class MatchingTypeInSwitchCaseConditionRule implements Rule
18
{
19
20
- private Standard $printer;
+ private Printer $printer;
21
22
- public function __construct(Standard $printer)
+ public function __construct(Printer $printer)
23
24
$this->printer = $printer;
25
}
0 commit comments