From 1d1db7f1357b98f58f05b43a0a520e8825aa4c31 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Mon, 24 Feb 2025 19:56:08 +0100 Subject: [PATCH] [CLEANUP] Avoid Hungarian notation in `CSSNamespace` Part of #756 --- src/Property/CSSNamespace.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Property/CSSNamespace.php b/src/Property/CSSNamespace.php index 21135a35d..0d6750f09 100644 --- a/src/Property/CSSNamespace.php +++ b/src/Property/CSSNamespace.php @@ -15,7 +15,7 @@ class CSSNamespace implements AtRule /** * @var string */ - private $mUrl; + private $url; /** * @var string @@ -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; } @@ -62,7 +62,7 @@ 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) . ';'; } /** @@ -70,7 +70,7 @@ public function render(OutputFormat $outputFormat): string */ public function getUrl() { - return $this->mUrl; + return $this->url; } /** @@ -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; } /** @@ -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); }