mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-23 05:16:05 +03:00
Fixed comment token extraction: will no longer read one character from the next line
This commit is contained in:
parent
c18cd16960
commit
bbb5cf1e4d
@ -492,7 +492,7 @@ class Lexer
|
|||||||
$line,
|
$line,
|
||||||
$col,
|
$col,
|
||||||
$prev,
|
$prev,
|
||||||
mb_substr($body, $start + 1, $position - $start + 1, 'UTF-8')
|
mb_substr($body, $start + 1, $position - $start, 'UTF-8')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user