From 8f981511c35774fffef6fbb5463d9c8be51c428d Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Sat, 8 Mar 2025 18:14:13 +0100 Subject: [PATCH] [CLEANUP] Avoid Hungarian notation in `OutputFormat` (part 6) Part of #756 --- src/OutputFormat.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/OutputFormat.php b/src/OutputFormat.php index 9828273e..d63e8e3e 100644 --- a/src/OutputFormat.php +++ b/src/OutputFormat.php @@ -99,28 +99,28 @@ class OutputFormat * * @var string */ - private $sSpaceBeforeListArgumentSeparator = ''; + private $spaceBeforeListArgumentSeparator = ''; /** * Keys are separators (e.g. `,`). Values are the space sequence to insert, or an empty string. * * @var array */ - private $aSpaceBeforeListArgumentSeparators = []; + private $spaceBeforeListArgumentSeparators = []; /** * This is what’s inserted after the separator in value lists, by default. * * @var string */ - private $sSpaceAfterListArgumentSeparator = ''; + private $spaceAfterListArgumentSeparator = ''; /** * Keys are separators (e.g. `,`). Values are the space sequence to insert, or an empty string. * * @var array */ - private $aSpaceAfterListArgumentSeparators = []; + private $spaceAfterListArgumentSeparators = []; /** * @var string @@ -457,7 +457,7 @@ public function setSpaceAfterSelectorSeparator(string $whitespace): self */ public function getSpaceBeforeListArgumentSeparator(): string { - return $this->sSpaceBeforeListArgumentSeparator; + return $this->spaceBeforeListArgumentSeparator; } /** @@ -465,7 +465,7 @@ public function getSpaceBeforeListArgumentSeparator(): string */ public function setSpaceBeforeListArgumentSeparator(string $whitespace): self { - $this->sSpaceBeforeListArgumentSeparator = $whitespace; + $this->spaceBeforeListArgumentSeparator = $whitespace; return $this; } @@ -477,7 +477,7 @@ public function setSpaceBeforeListArgumentSeparator(string $whitespace): self */ public function getSpaceBeforeListArgumentSeparators(): array { - return $this->aSpaceBeforeListArgumentSeparators; + return $this->spaceBeforeListArgumentSeparators; } /** @@ -487,7 +487,7 @@ public function getSpaceBeforeListArgumentSeparators(): array */ public function setSpaceBeforeListArgumentSeparators(array $separatorSpaces): self { - $this->aSpaceBeforeListArgumentSeparators = $separatorSpaces; + $this->spaceBeforeListArgumentSeparators = $separatorSpaces; return $this; } @@ -497,7 +497,7 @@ public function setSpaceBeforeListArgumentSeparators(array $separatorSpaces): se */ public function getSpaceAfterListArgumentSeparator(): string { - return $this->sSpaceAfterListArgumentSeparator; + return $this->spaceAfterListArgumentSeparator; } /** @@ -505,7 +505,7 @@ public function getSpaceAfterListArgumentSeparator(): string */ public function setSpaceAfterListArgumentSeparator(string $whitespace): self { - $this->sSpaceAfterListArgumentSeparator = $whitespace; + $this->spaceAfterListArgumentSeparator = $whitespace; return $this; } @@ -517,7 +517,7 @@ public function setSpaceAfterListArgumentSeparator(string $whitespace): self */ public function getSpaceAfterListArgumentSeparators(): array { - return $this->aSpaceAfterListArgumentSeparators; + return $this->spaceAfterListArgumentSeparators; } /** @@ -527,7 +527,7 @@ public function getSpaceAfterListArgumentSeparators(): array */ public function setSpaceAfterListArgumentSeparators(array $separatorSpaces): self { - $this->aSpaceAfterListArgumentSeparators = $separatorSpaces; + $this->spaceAfterListArgumentSeparators = $separatorSpaces; return $this; }