Skip to content

Commit

Permalink
Skip null values
Browse files Browse the repository at this point in the history
  • Loading branch information
zoglo committed Sep 13, 2024
1 parent cdd7176 commit 26afeec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compiler/FileCompiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 26afeec

Please sign in to comment.