@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | /** |
66 | 66 | * Create a new instance of "Relevant Selector Parser" |
67 | 67 | * |
68 | - * @param \Crossjoin\Css\Reader\CssString|string|null $stylesheet |
|
68 | + * @param string $stylesheet |
|
69 | 69 | * @param string $charset |
70 | 70 | */ |
71 | 71 | public function __construct($stylesheet = null, $charset = 'UTF-8') |
@@ -81,7 +81,6 @@ discard block |
||
81 | 81 | /** |
82 | 82 | * Get the relevant selectors |
83 | 83 | * |
84 | - * @param \Crossjoin\Css\Reader\CssString $reader |
|
85 | 84 | * @return array |
86 | 85 | */ |
87 | 86 | public function extract() |
@@ -102,7 +101,7 @@ discard block |
||
102 | 101 | * Store the selectors from the rule to the tank |
103 | 102 | * |
104 | 103 | * @param array &$tank |
105 | - * @param array $selectors |
|
104 | + * @param StyleRuleSet $rule |
|
106 | 105 | * @return void |
107 | 106 | */ |
108 | 107 | protected function populateSelectors(array &$tank, $rule) |
@@ -285,6 +284,9 @@ discard block |
||
285 | 284 | } |
286 | 285 | } |
287 | 286 | |
287 | + /** |
|
288 | + * @param MediaQuery $media_query |
|
289 | + */ |
|
288 | 290 | protected function isAllowedMediaRule($media_query) |
289 | 291 | { |
290 | 292 | $type = $media_query->getType(); |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Crossjoin\Css\Format\Rule\AtMedia\MediaRule; |
16 | 16 | use Crossjoin\Css\Format\Rule\Style\StyleRuleSet; |
17 | 17 | use Crossjoin\Css\Format\Rule\Style\StyleSelector; |
18 | -use Illuminate\Support\Arr; |
|
19 | 18 | use InvalidArgumentException; |
20 | 19 | |
21 | 20 | /** |