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
14 changes: 7 additions & 7 deletions src/Value/URL.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ class URL extends PrimitiveValue
/**
* @var CSSString
*/
private $oURL;
private $url;

/**
* @param int<0, max> $lineNumber
*/
public function __construct(CSSString $oURL, $lineNumber = 0)
public function __construct(CSSString $url, $lineNumber = 0)
{
parent::__construct($lineNumber);
$this->oURL = $oURL;
$this->url = $url;
}

/**
Expand Down Expand Up @@ -63,17 +63,17 @@ public static function parse(ParserState $parserState): URL
return $result;
}

public function setURL(CSSString $oURL): void
public function setURL(CSSString $url): void
{
$this->oURL = $oURL;
$this->url = $url;
}

/**
* @return CSSString
*/
public function getURL()
{
return $this->oURL;
return $this->url;
}

/**
Expand All @@ -86,6 +86,6 @@ public function __toString(): string

public function render(OutputFormat $outputFormat): string
{
return "url({$this->oURL->render($outputFormat)})";
return "url({$this->url->render($outputFormat)})";
}
}