Skip to content

Commit 3a05e1f

Browse files
authored
[CLEANUP] Avoid Hungarian notation for isForIdentifier (#961)
Part of #756
1 parent 04b0345 commit 3a05e1f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Parsing/ParserState.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,18 +146,18 @@ public function parseIdentifier($ignoreCase = true)
146146
}
147147

148148
/**
149-
* @param bool $bIsForIdentifier
149+
* @param bool $isForIdentifier
150150
*
151151
* @return string|null
152152
*
153153
* @throws UnexpectedEOFException
154154
* @throws UnexpectedTokenException
155155
*/
156-
public function parseCharacter($bIsForIdentifier)
156+
public function parseCharacter($isForIdentifier)
157157
{
158158
if ($this->peek() === '\\') {
159159
if (
160-
$bIsForIdentifier && $this->parserSettings->bLenientParsing
160+
$isForIdentifier && $this->parserSettings->bLenientParsing
161161
&& ($this->comes('\\0') || $this->comes('\\9'))
162162
) {
163163
// Non-strings can contain \0 or \9 which is an IE hack supported in lenient parsing.
@@ -189,7 +189,7 @@ public function parseCharacter($bIsForIdentifier)
189189
}
190190
return \iconv('utf-32le', $this->charset, $sUtf32);
191191
}
192-
if ($bIsForIdentifier) {
192+
if ($isForIdentifier) {
193193
$peek = \ord($this->peek());
194194
// Ranges: a-z A-Z 0-9 - _
195195
if (

0 commit comments

Comments
 (0)