Skip to content

Commit f14eaeb

Browse files
committed
[AiBundle] Fix fatal error when a value is not defined
1 parent 1e69969 commit f14eaeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ai-bundle/config/options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@
882882
->end()
883883
->beforeNormalization()
884884
->always(function ($v) {
885-
if (\is_string($v)) {
885+
if (\is_string($v) || null === $v) {
886886
return $v;
887887
}
888888

0 commit comments

Comments
 (0)