From 22ec9c0086fd6e5d8a0b66d6d66d360f9d6631f5 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 26 Nov 2019 18:00:39 +0100 Subject: [PATCH] Compatibility with PHP 7.4 --- .../files/lib/system/api/leafo/scssphp/src/Compiler.php | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.20.1