Skip to content

Commit 0fce02b

Browse files
authored
[CLEANUP] Avoid Hungarian notation for url (#1093)
Part of #756
1 parent 0ae4c9a commit 0fce02b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Value/URL.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ class URL extends PrimitiveValue
1818
/**
1919
* @var CSSString
2020
*/
21-
private $oURL;
21+
private $url;
2222

2323
/**
2424
* @param int<0, max> $lineNumber
2525
*/
26-
public function __construct(CSSString $oURL, $lineNumber = 0)
26+
public function __construct(CSSString $url, $lineNumber = 0)
2727
{
2828
parent::__construct($lineNumber);
29-
$this->oURL = $oURL;
29+
$this->url = $url;
3030
}
3131

3232
/**
@@ -63,17 +63,17 @@ public static function parse(ParserState $parserState): URL
6363
return $result;
6464
}
6565

66-
public function setURL(CSSString $oURL): void
66+
public function setURL(CSSString $url): void
6767
{
68-
$this->oURL = $oURL;
68+
$this->url = $url;
6969
}
7070

7171
/**
7272
* @return CSSString
7373
*/
7474
public function getURL()
7575
{
76-
return $this->oURL;
76+
return $this->url;
7777
}
7878

7979
/**
@@ -86,6 +86,6 @@ public function __toString(): string
8686

8787
public function render(OutputFormat $outputFormat): string
8888
{
89-
return "url({$this->oURL->render($outputFormat)})";
89+
return "url({$this->url->render($outputFormat)})";
9090
}
9191
}

0 commit comments

Comments
 (0)