From 26afeec93634395333e041943b6cbc3cea7ce53a Mon Sep 17 00:00:00 2001 From: Sebastian Zoglowek <55794780+zoglo@users.noreply.github.com> Date: Fri, 13 Sep 2024 09:16:35 +0200 Subject: [PATCH] Skip null values --- src/Compiler/FileCompiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compiler/FileCompiler.php b/src/Compiler/FileCompiler.php index eaad9a6..de15c8e 100644 --- a/src/Compiler/FileCompiler.php +++ b/src/Compiler/FileCompiler.php @@ -473,7 +473,7 @@ public function parseConfig($configType): void */ public function parseVariableValue($varValue): bool|string|null { - if ('' === $varValue || is_bool($varValue)) + if ('' === $varValue || is_bool($varValue) || null === $varValue) { return $varValue; }