@@ -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 ->mediaQuery = $ mediaQuery ;
44
44
$ this ->lineNumber = $ lineNumber ;
45
45
$ this ->comments = [];
46
46
}
@@ -77,7 +77,7 @@ public function __toString(): string
77
77
public function render (OutputFormat $ oOutputFormat ): string
78
78
{
79
79
return $ oOutputFormat ->comments ($ this ) . '@import ' . $ this ->oLocation ->render ($ oOutputFormat )
80
- . ($ this ->sMediaQuery === null ? '' : ' ' . $ this ->sMediaQuery ) . '; ' ;
80
+ . ($ this ->mediaQuery === null ? '' : ' ' . $ this ->mediaQuery ) . '; ' ;
81
81
}
82
82
83
83
public function atRuleName (): string
@@ -91,8 +91,8 @@ public function atRuleName(): string
91
91
public function atRuleArgs (): array
92
92
{
93
93
$ aResult = [$ this ->oLocation ];
94
- if ($ this ->sMediaQuery ) {
95
- \array_push ($ aResult , $ this ->sMediaQuery );
94
+ if ($ this ->mediaQuery ) {
95
+ \array_push ($ aResult , $ this ->mediaQuery );
96
96
}
97
97
return $ aResult ;
98
98
}
@@ -126,6 +126,6 @@ public function setComments(array $comments): void
126
126
*/
127
127
public function getMediaQuery ()
128
128
{
129
- return $ this ->sMediaQuery ;
129
+ return $ this ->mediaQuery ;
130
130
}
131
131
}
0 commit comments