We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e0b0d4 commit 5be7070Copy full SHA for 5be7070
src/ai-bundle/config/options.php
@@ -187,7 +187,7 @@
187
->end()
188
->validate()
189
->ifTrue(function ($v) {
190
- return \is_array($v) && $v['enabled'] && !interface_exists(TranslatorInterface::class);
+ return \is_array($v) && ($v['enabled'] ?? false) && !interface_exists(TranslatorInterface::class);
191
})
192
->thenInvalid('System prompt translation is enabled, but no translator is present. Try running `composer require symfony/translation`.')
193
0 commit comments