Skip to content

Commit 7c5bcb8

Browse files
committed
Update Parser.php
Initialize $aMatches
1 parent 485fc84 commit 7c5bcb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sabberworm/CSS/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ private function consume($mValue = 1) {
518518
}
519519

520520
private function consumeExpression($mExpression) {
521-
$aMatches;
521+
$aMatches = null;
522522
if (preg_match($mExpression, $this->inputLeft(), $aMatches, PREG_OFFSET_CAPTURE) === 1) {
523523
return $this->consume($aMatches[0][0]);
524524
}

0 commit comments

Comments
 (0)