Skip to content

Commit 58ef076

Browse files
authored
[CLEANUP] Avoid Hungarian notation for isFirst (#1023)
Part of #756
1 parent 9192d95 commit 58ef076

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/RuleSet/RuleSet.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public function __toString(): string
269269
protected function renderRules(OutputFormat $outputFormat)
270270
{
271271
$result = '';
272-
$bIsFirst = true;
272+
$isFirst = true;
273273
$oNextLevel = $outputFormat->nextLevel();
274274
foreach ($this->aRules as $aRules) {
275275
foreach ($aRules as $rule) {
@@ -279,8 +279,8 @@ protected function renderRules(OutputFormat $outputFormat)
279279
if ($sRendered === null) {
280280
continue;
281281
}
282-
if ($bIsFirst) {
283-
$bIsFirst = false;
282+
if ($isFirst) {
283+
$isFirst = false;
284284
$result .= $oNextLevel->spaceBeforeRules();
285285
} else {
286286
$result .= $oNextLevel->spaceBetweenRules();
@@ -289,7 +289,7 @@ protected function renderRules(OutputFormat $outputFormat)
289289
}
290290
}
291291

292-
if (!$bIsFirst) {
292+
if (!$isFirst) {
293293
// Had some output
294294
$result .= $outputFormat->spaceAfterRules();
295295
}

0 commit comments

Comments
 (0)