Skip to content

Commit

Permalink
[CLEANUP] Avoid Hungarian notation in CSSNamespace
Browse files Browse the repository at this point in the history
Part of #756
  • Loading branch information
oliverklee committed Feb 24, 2025
1 parent e725c2e commit 1d1db7f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/Property/CSSNamespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CSSNamespace implements AtRule
/**
* @var string
*/
private $mUrl;
private $url;

/**
* @var string
Expand All @@ -35,13 +35,13 @@ class CSSNamespace implements AtRule
protected $comments = [];

/**
* @param string $mUrl
* @param string $url
* @param string|null $prefix
* @param int<0, max> $lineNumber
*/
public function __construct($mUrl, $prefix = null, $lineNumber = 0)
public function __construct($url, $prefix = null, $lineNumber = 0)
{
$this->mUrl = $mUrl;
$this->url = $url;
$this->prefix = $prefix;
$this->lineNumber = $lineNumber;
}
Expand All @@ -62,15 +62,15 @@ public function __toString(): string
public function render(OutputFormat $outputFormat): string
{
return '@namespace ' . ($this->prefix === null ? '' : $this->prefix . ' ')
. $this->mUrl->render($outputFormat) . ';';
. $this->url->render($outputFormat) . ';';
}

/**
* @return string
*/
public function getUrl()
{
return $this->mUrl;
return $this->url;
}

/**
Expand All @@ -82,11 +82,11 @@ public function getPrefix()
}

/**
* @param string $mUrl
* @param string $url
*/
public function setUrl($mUrl): void
public function setUrl($url): void
{
$this->mUrl = $mUrl;
$this->url = $url;
}

/**
Expand All @@ -110,7 +110,7 @@ public function atRuleName(): string
*/
public function atRuleArgs(): array
{
$result = [$this->mUrl];
$result = [$this->url];
if ($this->prefix) {
\array_unshift($result, $this->prefix);
}
Expand Down

0 comments on commit 1d1db7f

Please sign in to comment.