Skip to content

Commit b4d691c

Browse files
authored
[CLEANUP] Avoid Hungarian notation in OutputFormat (part 1) (#1098)
Part of #756
1 parent a8f26be commit b4d691c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/OutputFormat.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class OutputFormat
1818
*
1919
* @var bool
2020
*/
21-
private $bRGBHashNotation = true;
21+
private $rgbHashNotation = true;
2222

2323
/**
2424
* Declaration format
@@ -27,7 +27,7 @@ class OutputFormat
2727
*
2828
* @var bool
2929
*/
30-
private $bSemicolonAfterLastRule = true;
30+
private $semicolonAfterLastRule = true;
3131

3232
/**
3333
* Spacing
@@ -38,7 +38,7 @@ class OutputFormat
3838
*
3939
* @var string
4040
*/
41-
private $sSpaceAfterRuleName = ' ';
41+
private $spaceAfterRuleName = ' ';
4242

4343
/**
4444
* @var string
@@ -274,15 +274,15 @@ public function setStringQuotingType(string $quotingType): self
274274
*/
275275
public function getRGBHashNotation(): bool
276276
{
277-
return $this->bRGBHashNotation;
277+
return $this->rgbHashNotation;
278278
}
279279

280280
/**
281281
* @return $this fluent interface
282282
*/
283283
public function setRGBHashNotation(bool $rgbHashNotation): self
284284
{
285-
$this->bRGBHashNotation = $rgbHashNotation;
285+
$this->rgbHashNotation = $rgbHashNotation;
286286

287287
return $this;
288288
}
@@ -292,15 +292,15 @@ public function setRGBHashNotation(bool $rgbHashNotation): self
292292
*/
293293
public function getSemicolonAfterLastRule(): bool
294294
{
295-
return $this->bSemicolonAfterLastRule;
295+
return $this->semicolonAfterLastRule;
296296
}
297297

298298
/**
299299
* @return $this fluent interface
300300
*/
301301
public function setSemicolonAfterLastRule(bool $semicolonAfterLastRule): self
302302
{
303-
$this->bSemicolonAfterLastRule = $semicolonAfterLastRule;
303+
$this->semicolonAfterLastRule = $semicolonAfterLastRule;
304304

305305
return $this;
306306
}
@@ -310,15 +310,15 @@ public function setSemicolonAfterLastRule(bool $semicolonAfterLastRule): self
310310
*/
311311
public function getSpaceAfterRuleName(): string
312312
{
313-
return $this->sSpaceAfterRuleName;
313+
return $this->spaceAfterRuleName;
314314
}
315315

316316
/**
317317
* @return $this fluent interface
318318
*/
319319
public function setSpaceAfterRuleName(string $whitespace): self
320320
{
321-
$this->sSpaceAfterRuleName = $whitespace;
321+
$this->spaceAfterRuleName = $whitespace;
322322

323323
return $this;
324324
}

0 commit comments

Comments
 (0)