Skip to content

Commit 4583ab2

Browse files
committed
Remove unused variable.
1 parent ddf470b commit 4583ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cursor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function match(string $pattern): bool
140140
{
141141
$text = $this->getText($this->getPosition());
142142

143-
return preg_match($pattern, $text, $matches) > 0;
143+
return preg_match($pattern, $text) > 0;
144144
}
145145

146146
/**

0 commit comments

Comments
 (0)