diff --git a/include/thirdparty/ScssPhp/ScssPhp/Node/Number.php b/include/thirdparty/ScssPhp/ScssPhp/Node/Number.php index 0f2099f..dac9300 100644 --- a/include/thirdparty/ScssPhp/ScssPhp/Node/Number.php +++ b/include/thirdparty/ScssPhp/ScssPhp/Node/Number.php @@ -174,6 +174,7 @@ class Number extends Node implements \ArrayAccess /** * {@inheritdoc} */ +#[\ReturnTypeWillChange] public function offsetGet($offset) { switch ($offset) { @@ -200,6 +201,7 @@ class Number extends Node implements \ArrayAccess /** * {@inheritdoc} */ +#[\ReturnTypeWillChange] public function offsetSet($offset, $value) { if ($offset === 1) { @@ -218,6 +220,7 @@ class Number extends Node implements \ArrayAccess /** * {@inheritdoc} */ +#[\ReturnTypeWillChange] public function offsetUnset($offset) { if ($offset === 1) { diff --git a/include/tool/Output/Scss.php b/include/tool/Output/Scss.php index b1f0960..0cde5b3 100644 --- a/include/tool/Output/Scss.php +++ b/include/tool/Output/Scss.php @@ -11,7 +11,7 @@ class Scss extends \ScssPhp\ScssPhp\Compiler{ * Extend compileValue() so we can fix background:url(path) * */ - public function compileValue($value){ + public function compileValue($value , $quote = true){ if( !is_array($value) || $value[0] != \ScssPhp\ScssPhp\Type::T_FUNCTION || strtolower($value[1]) != 'url' ){