Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
Félix Dorn committed Mar 14, 2024
1 parent a55146d commit ba8d224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tin.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private function groupTokensByLine(iterable $tokens): \SplQueue

foreach ($lines as $line) {
if ($token->id === T_INLINE_HTML || $token->id === T_DOC_COMMENT) {
$grouped[$lineIndex]?->push($token->withText($line));
$grouped[$lineIndex]->push($token->withText($line));
$lineIndex++;
continue;
}
Expand All @@ -121,7 +121,7 @@ private function groupTokensByLine(iterable $tokens): \SplQueue
continue;
}

$grouped[$lineIndex]?->push($token->withText($line));
$grouped[$lineIndex]->push($token->withText($line));
}
}

Expand Down

0 comments on commit ba8d224

Please sign in to comment.