Skip to content

[CLEANUP] Avoid Hungarian notation in OutputFormat (part 3) #1114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/OutputFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@ class OutputFormat
/**
* @var string
*/
private $sSpaceBeforeBlocks = '';
private $spaceBeforeBlocks = '';

/**
* @var string
*/
private $sSpaceAfterBlocks = '';
private $spaceAfterBlocks = '';

/**
* @var string
*/
private $sSpaceBetweenBlocks = "\n";
private $spaceBetweenBlocks = "\n";

/**
* Content injected in and around at-rule blocks.
Expand Down Expand Up @@ -331,15 +331,15 @@ public function setSpaceBetweenRules(string $whitespace): self
*/
public function getSpaceBeforeBlocks(): string
{
return $this->sSpaceBeforeBlocks;
return $this->spaceBeforeBlocks;
}

/**
* @return $this fluent interface
*/
public function setSpaceBeforeBlocks(string $whitespace): self
{
$this->sSpaceBeforeBlocks = $whitespace;
$this->spaceBeforeBlocks = $whitespace;

return $this;
}
Expand All @@ -349,15 +349,15 @@ public function setSpaceBeforeBlocks(string $whitespace): self
*/
public function getSpaceAfterBlocks(): string
{
return $this->sSpaceAfterBlocks;
return $this->spaceAfterBlocks;
}

/**
* @return $this fluent interface
*/
public function setSpaceAfterBlocks(string $whitespace): self
{
$this->sSpaceAfterBlocks = $whitespace;
$this->spaceAfterBlocks = $whitespace;

return $this;
}
Expand All @@ -367,15 +367,15 @@ public function setSpaceAfterBlocks(string $whitespace): self
*/
public function getSpaceBetweenBlocks(): string
{
return $this->sSpaceBetweenBlocks;
return $this->spaceBetweenBlocks;
}

/**
* @return $this fluent interface
*/
public function setSpaceBetweenBlocks(string $whitespace): self
{
$this->sSpaceBetweenBlocks = $whitespace;
$this->spaceBetweenBlocks = $whitespace;

return $this;
}
Expand Down