Skip to content

Commit f50b86f

Browse files
committed
Also re-add non-capture group
Not that it matters, we just want no unrelated changes.
1 parent ae179e4 commit f50b86f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/gen_stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3323,7 +3323,7 @@ public function getType(): string {
33233323
$matches = [];
33243324

33253325
if ($this->name === "param") {
3326-
preg_match('/^\s*([\w\|\\\\\[\]<>, ]+)\s*([{(]|(\.\.\.)?\$\w+).*$/', $value, $matches);
3326+
preg_match('/^\s*([\w\|\\\\\[\]<>, ]+)\s*(?:[{(]|(\.\.\.)?\$\w+).*$/', $value, $matches);
33273327
} elseif ($this->name === "return" || $this->name === "var") {
33283328
preg_match('/^\s*([\w\|\\\\\[\]<>, ]+)/', $value, $matches);
33293329
}

0 commit comments

Comments
 (0)