Skip to content

Commit b4c231b

Browse files
committed
Fix RichParser
1 parent 4ce29a7 commit b4c231b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parser/RichParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ private function getLinesToIgnore(array $tokens): array
183183
$line++;
184184
}
185185
if ($isNextLine || $isCurrentLine) {
186-
$line += substr_count($token[1], "\n");
186+
$line += substr_count($token->text, "\n");
187187

188188
$lines[$line] = null;
189189
continue;

0 commit comments

Comments
 (0)