Skip to content

[CLEANUP] Avoid Hungarian notation in OutputFormat (part 2) #1100

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 7, 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 @@ -43,17 +43,17 @@ class OutputFormat
/**
* @var string
*/
private $sSpaceBeforeRules = '';
private $spaceBeforeRules = '';

/**
* @var string
*/
private $sSpaceAfterRules = '';
private $spaceAfterRules = '';

/**
* @var string
*/
private $sSpaceBetweenRules = '';
private $spaceBetweenRules = '';

/**
* @var string
Expand Down Expand Up @@ -313,15 +313,15 @@ public function setSpaceAfterRuleName(string $whitespace): self
*/
public function getSpaceBeforeRules(): string
{
return $this->sSpaceBeforeRules;
return $this->spaceBeforeRules;
}

/**
* @return $this fluent interface
*/
public function setSpaceBeforeRules(string $whitespace): self
{
$this->sSpaceBeforeRules = $whitespace;
$this->spaceBeforeRules = $whitespace;

return $this;
}
Expand All @@ -331,15 +331,15 @@ public function setSpaceBeforeRules(string $whitespace): self
*/
public function getSpaceAfterRules(): string
{
return $this->sSpaceAfterRules;
return $this->spaceAfterRules;
}

/**
* @return $this fluent interface
*/
public function setSpaceAfterRules(string $whitespace): self
{
$this->sSpaceAfterRules = $whitespace;
$this->spaceAfterRules = $whitespace;

return $this;
}
Expand All @@ -349,15 +349,15 @@ public function setSpaceAfterRules(string $whitespace): self
*/
public function getSpaceBetweenRules(): string
{
return $this->sSpaceBetweenRules;
return $this->spaceBetweenRules;
}

/**
* @return $this fluent interface
*/
public function setSpaceBetweenRules(string $whitespace): self
{
$this->sSpaceBetweenRules = $whitespace;
$this->spaceBetweenRules = $whitespace;

return $this;
}
Expand Down