From: Alexander Ebert Date: Tue, 26 Nov 2019 17:00:39 +0000 (+0100) Subject: Compatibility with PHP 7.4 X-Git-Tag: 5.2.0_Beta_4~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=22ec9c0086fd6e5d8a0b66d6d66d360f9d6631f5;p=GitHub%2FWoltLab%2FWCF.git Compatibility with PHP 7.4 --- diff --git a/wcfsetup/install/files/lib/system/api/leafo/scssphp/src/Compiler.php b/wcfsetup/install/files/lib/system/api/leafo/scssphp/src/Compiler.php index 87fb8b2587..d547c1564a 100644 --- a/wcfsetup/install/files/lib/system/api/leafo/scssphp/src/Compiler.php +++ b/wcfsetup/install/files/lib/system/api/leafo/scssphp/src/Compiler.php @@ -2044,6 +2044,9 @@ class Compiler */ protected function reduce($value, $inExp = false) { + if ($value === null) { + return $value; + } switch ($value[0]) { case Type::T_EXPRESSION: