Skip to content

Commit b159fd2

Browse files
author
Alexander Bachmann
committed
change property name to a more descriptive one
1 parent 23c04c0 commit b159fd2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Compiler.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class Compiler
6969
/**
7070
* @var string|null
7171
*/
72-
protected $stylePath = null;
72+
protected $relativePath = null;
7373

7474
/**
7575
* @var NodeHelper
@@ -138,7 +138,7 @@ public function __construct(DOMDocument $document, LoggerInterface $logger)
138138
{
139139
$this->builder = new TwigBuilder();
140140
$this->styleBuilder = new StyleBuilder();
141-
$this->stylePath = null;
141+
$this->relativePath = null;
142142
$this->nodeHelper = new NodeHelper();
143143
$this->document = $document;
144144
$this->logger = $logger;
@@ -168,9 +168,9 @@ public function setBanner($strings): void
168168
/**
169169
* @param string $path
170170
*/
171-
public function setStylePath(string $path): void
171+
public function setRelativePath(string $path): void
172172
{
173-
$this->stylePath = $path;
173+
$this->relativePath = $path;
174174
}
175175

176176
/**
@@ -230,7 +230,7 @@ public function convert(): string
230230
}
231231
foreach ($styleBlocks as $styleBlock) {
232232
/* @var DOMElement $styleBlock */
233-
$this->rawBlocks[] = $this->styleBuilder->compile($styleBlock, $this->stylePath);
233+
$this->rawBlocks[] = $this->styleBuilder->compile($styleBlock, $this->relativePath);
234234
}
235235
}
236236

0 commit comments

Comments
 (0)