File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class Compiler
69
69
/**
70
70
* @var string|null
71
71
*/
72
- protected $ stylePath = null ;
72
+ protected $ relativePath = null ;
73
73
74
74
/**
75
75
* @var NodeHelper
@@ -138,7 +138,7 @@ public function __construct(DOMDocument $document, LoggerInterface $logger)
138
138
{
139
139
$ this ->builder = new TwigBuilder ();
140
140
$ this ->styleBuilder = new StyleBuilder ();
141
- $ this ->stylePath = null ;
141
+ $ this ->relativePath = null ;
142
142
$ this ->nodeHelper = new NodeHelper ();
143
143
$ this ->document = $ document ;
144
144
$ this ->logger = $ logger ;
@@ -168,9 +168,9 @@ public function setBanner($strings): void
168
168
/**
169
169
* @param string $path
170
170
*/
171
- public function setStylePath (string $ path ): void
171
+ public function setRelativePath (string $ path ): void
172
172
{
173
- $ this ->stylePath = $ path ;
173
+ $ this ->relativePath = $ path ;
174
174
}
175
175
176
176
/**
@@ -230,7 +230,7 @@ public function convert(): string
230
230
}
231
231
foreach ($ styleBlocks as $ styleBlock ) {
232
232
/* @var DOMElement $styleBlock */
233
- $ this ->rawBlocks [] = $ this ->styleBuilder ->compile ($ styleBlock , $ this ->stylePath );
233
+ $ this ->rawBlocks [] = $ this ->styleBuilder ->compile ($ styleBlock , $ this ->relativePath );
234
234
}
235
235
}
236
236
You can’t perform that action at this time.
0 commit comments