Skip to content
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
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