Skip to content

Commit dff5021

Browse files
committed
drop useless var
1 parent 4386e7e commit dff5021

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Type/Php/RegexGroupParser.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,9 @@ public function parseGroups(string $regex): ?array
7777
$alternationId = -1;
7878
$captureGroupId = 100;
7979
$markVerbs = [];
80-
$alternation = null;
8180
$this->walkRegexAst(
8281
$ast,
83-
$alternation,
82+
null,
8483
$alternationId,
8584
0,
8685
false,

0 commit comments

Comments
 (0)