diff --git a/src/Parsing/ParserState.php b/src/Parsing/ParserState.php index 5663e221..6090fd57 100644 --- a/src/Parsing/ParserState.php +++ b/src/Parsing/ParserState.php @@ -146,18 +146,18 @@ public function parseIdentifier($ignoreCase = true) } /** - * @param bool $bIsForIdentifier + * @param bool $isForIdentifier * * @return string|null * * @throws UnexpectedEOFException * @throws UnexpectedTokenException */ - public function parseCharacter($bIsForIdentifier) + public function parseCharacter($isForIdentifier) { if ($this->peek() === '\\') { if ( - $bIsForIdentifier && $this->parserSettings->bLenientParsing + $isForIdentifier && $this->parserSettings->bLenientParsing && ($this->comes('\\0') || $this->comes('\\9')) ) { // Non-strings can contain \0 or \9 which is an IE hack supported in lenient parsing. @@ -189,7 +189,7 @@ public function parseCharacter($bIsForIdentifier) } return \iconv('utf-32le', $this->charset, $sUtf32); } - if ($bIsForIdentifier) { + if ($isForIdentifier) { $peek = \ord($this->peek()); // Ranges: a-z A-Z 0-9 - _ if (