Skip to content

Commit 5c193b9

Browse files
authored
[CLEANUP] Avoid Hungarian notation in CSSNamespace (#985)
Part of #756
1 parent 0dcf0b4 commit 5c193b9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/Property/CSSNamespace.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class CSSNamespace implements AtRule
1515
/**
1616
* @var string
1717
*/
18-
private $mUrl;
18+
private $url;
1919

2020
/**
2121
* @var string
@@ -35,13 +35,13 @@ class CSSNamespace implements AtRule
3535
protected $comments = [];
3636

3737
/**
38-
* @param string $mUrl
38+
* @param string $url
3939
* @param string|null $prefix
4040
* @param int<0, max> $lineNumber
4141
*/
42-
public function __construct($mUrl, $prefix = null, $lineNumber = 0)
42+
public function __construct($url, $prefix = null, $lineNumber = 0)
4343
{
44-
$this->mUrl = $mUrl;
44+
$this->url = $url;
4545
$this->prefix = $prefix;
4646
$this->lineNumber = $lineNumber;
4747
}
@@ -62,15 +62,15 @@ public function __toString(): string
6262
public function render(OutputFormat $outputFormat): string
6363
{
6464
return '@namespace ' . ($this->prefix === null ? '' : $this->prefix . ' ')
65-
. $this->mUrl->render($outputFormat) . ';';
65+
. $this->url->render($outputFormat) . ';';
6666
}
6767

6868
/**
6969
* @return string
7070
*/
7171
public function getUrl()
7272
{
73-
return $this->mUrl;
73+
return $this->url;
7474
}
7575

7676
/**
@@ -82,11 +82,11 @@ public function getPrefix()
8282
}
8383

8484
/**
85-
* @param string $mUrl
85+
* @param string $url
8686
*/
87-
public function setUrl($mUrl): void
87+
public function setUrl($url): void
8888
{
89-
$this->mUrl = $mUrl;
89+
$this->url = $url;
9090
}
9191

9292
/**
@@ -110,7 +110,7 @@ public function atRuleName(): string
110110
*/
111111
public function atRuleArgs(): array
112112
{
113-
$result = [$this->mUrl];
113+
$result = [$this->url];
114114
if ($this->prefix) {
115115
\array_unshift($result, $this->prefix);
116116
}

0 commit comments

Comments
 (0)