File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -162,15 +162,15 @@ private static function parseAtRule(ParserState $parserState)
162
162
if ($ sIdentifier === 'import ' ) {
163
163
$ oLocation = URL ::parse ($ parserState );
164
164
$ parserState ->consumeWhiteSpace ();
165
- $ sMediaQuery = null ;
165
+ $ mediaQuery = null ;
166
166
if (!$ parserState ->comes ('; ' )) {
167
- $ sMediaQuery = \trim ($ parserState ->consumeUntil (['; ' , ParserState::EOF ]));
168
- if ($ sMediaQuery === '' ) {
169
- $ sMediaQuery = null ;
167
+ $ mediaQuery = \trim ($ parserState ->consumeUntil (['; ' , ParserState::EOF ]));
168
+ if ($ mediaQuery === '' ) {
169
+ $ mediaQuery = null ;
170
170
}
171
171
}
172
172
$ parserState ->consumeUntil (['; ' , ParserState::EOF ], true , true );
173
- return new Import ($ oLocation , $ sMediaQuery , $ iIdentifierLineNum );
173
+ return new Import ($ oLocation , $ mediaQuery , $ iIdentifierLineNum );
174
174
} elseif ($ sIdentifier === 'charset ' ) {
175
175
$ oCharsetString = CSSString::parse ($ parserState );
176
176
$ parserState ->consumeWhiteSpace ();
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class Import implements AtRule
21
21
/**
22
22
* @var string
23
23
*/
24
- private $ sMediaQuery ;
24
+ private $ mediaQuery ;
25
25
26
26
/**
27
27
* @var int
@@ -34,13 +34,13 @@ class Import implements AtRule
34
34
protected $ comments ;
35
35
36
36
/**
37
- * @param string $sMediaQuery
37
+ * @param string $mediaQuery
38
38
* @param int $lineNumber
39
39
*/
40
- public function __construct (URL $ oLocation , $ sMediaQuery , $ lineNumber = 0 )
40
+ public function __construct (URL $ oLocation , $ mediaQuery , $ lineNumber = 0 )
41
41
{
42
42
$ this ->oLocation = $ oLocation ;
43
- $ this ->sMediaQuery = $ sMediaQuery ;
43
+ $ this ->sMediaQuery = $ mediaQuery ;
44
44
$ this ->lineNumber = $ lineNumber ;
45
45
$ this ->comments = [];
46
46
}
You can’t perform that action at this time.
0 commit comments