@@ -21,8 +21,8 @@ |
||
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | - * @param $string |
|
| 25 | - * @return mixed|string |
|
| 24 | + * @param string $string |
|
| 25 | + * @return string |
|
| 26 | 26 | */ |
| 27 | 27 | private function cleanup($string) |
| 28 | 28 | { |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | if ( |
| 209 | 209 | ($existingProperty->isImportant() && $property->isImportant()) && |
| 210 | 210 | ($property->getOriginalSpecificity()->getValue() >= |
| 211 | - $existingProperty->getOriginalSpecificity()->getValue()) |
|
| 211 | + $existingProperty->getOriginalSpecificity()->getValue()) |
|
| 212 | 212 | ) { |
| 213 | 213 | // if both the properties are important we should use the specificity |
| 214 | 214 | $cssProperties[$property->getName()] = $property; |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | } elseif ( |
| 219 | 219 | !$existingProperty->isImportant() && |
| 220 | 220 | ($property->getOriginalSpecificity()->getValue() >= |
| 221 | - $existingProperty->getOriginalSpecificity()->getValue()) |
|
| 221 | + $existingProperty->getOriginalSpecificity()->getValue()) |
|
| 222 | 222 | ) { |
| 223 | 223 | // if the existing propert is not important we should check the specificity |
| 224 | 224 | $cssProperties[$property->getName()] = $property; |