Skip to content

Commit 5e4c885

Browse files
committed
next start
1 parent 2be04b5 commit 5e4c885

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rules/Php85/Rector/Switch_/ColonAfterSwitchCaseRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function refactor(Node $node): ?Node
6969
? (
7070
isset($node->cases[$key + 1])
7171
? $node->cases[$key + 1]->getStartTokenPos()
72-
: 0
72+
: $node->getEndTokenPos()
7373
)
7474
: $case->stmts[0]->getStartTokenPos();
7575

0 commit comments

Comments
 (0)