Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 58375a9

Browse files
committedFeb 15, 2025
Less parentheses
1 parent dec05c9 commit 58375a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Lexer/Lexer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ private function generateRegexp(): string
163163
self::TOKEN_CLOSE_CURLY_BRACKET => '\\}',
164164

165165
self::TOKEN_COMMA => ',',
166-
self::TOKEN_COMMENT => '((?<![:/])\/\/[^\\r\\n]*)',
166+
self::TOKEN_COMMENT => '(?<![:/])\/\/[^\\r\\n]*',
167167
self::TOKEN_VARIADIC => '\\.\\.\\.',
168168
self::TOKEN_DOUBLE_COLON => '::',
169169
self::TOKEN_DOUBLE_ARROW => '=>',

0 commit comments

Comments
 (0)
Please sign in to comment.