Skip to content

Commit f25d7aa

Browse files
committed
Whoops - got this logic backwards
1 parent 84d5522 commit f25d7aa

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
@@ -455,7 +455,7 @@ private static function identifierIs($sIdentifier, $sMatch, $bCaseInsensitive =
455455
}
456456

457457
private function comes($sString, $alpha = false) {
458-
$sPeek = $this->peek($alpha ? strlen($sString) : $sString);
458+
$sPeek = $this->peek($alpha ? $sString : strlen($sString));
459459
return ($sPeek == '')
460460
? false
461461
: $this->streql($sPeek, $sString, $alpha);

0 commit comments

Comments
 (0)