Skip to content

Commit c785369

Browse files
authored
[CLEANUP] Avoid Hungarian notation for renderedRule (#1032)
Part of #756
1 parent 7842530 commit c785369

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/RuleSet/RuleSet.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,10 @@ protected function renderRules(OutputFormat $outputFormat)
273273
$nextLevelFormat = $outputFormat->nextLevel();
274274
foreach ($this->rules as $rules) {
275275
foreach ($rules as $rule) {
276-
$sRendered = $nextLevelFormat->safely(static function () use ($rule, $nextLevelFormat): string {
276+
$renderedRule = $nextLevelFormat->safely(static function () use ($rule, $nextLevelFormat): string {
277277
return $rule->render($nextLevelFormat);
278278
});
279-
if ($sRendered === null) {
279+
if ($renderedRule === null) {
280280
continue;
281281
}
282282
if ($isFirst) {
@@ -285,7 +285,7 @@ protected function renderRules(OutputFormat $outputFormat)
285285
} else {
286286
$result .= $nextLevelFormat->spaceBetweenRules();
287287
}
288-
$result .= $sRendered;
288+
$result .= $renderedRule;
289289
}
290290
}
291291

0 commit comments

Comments
 (0)