Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e208c93

Browse files
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

Lines changed: 3 additions & 3 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /