Skip to content

Commit 9660ad6

Browse files
committed
clean up
1 parent a13d7a6 commit 9660ad6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rules/Php81/NodeManipulator/AttributeGroupNewLiner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function newLine(File $file, Node $node): void
5050

5151
$nextTokenText = $oldTokens[$startTokenPos + $iteration + 1]->text ?? '';
5252
if (trim($nextTokenText) === '') {
53-
// when trimmed is empty string, but it contains new line
53+
// when trimmed is empty string, but original text contains new line
5454
if (str_contains($nextTokenText, "\n") || str_contains($nextTokenText, "\r")) {
5555
break;
5656
}

0 commit comments

Comments
 (0)