Skip to content

Commit e3b4cc9

Browse files
committed
Fix code style in options.php
1 parent 5ec89e5 commit e3b4cc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ai-bundle/config/options.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,13 @@
144144
if (!isset($v['prompt']) && !isset($v['include_tools'])) {
145145
throw new \InvalidArgumentException('Either "prompt" must be configured for system_prompt.');
146146
}
147+
147148
return $v;
148149
})
149150
->end()
150151
->validate()
151152
->ifTrue(function ($v) {
152-
return is_array($v) && '' === trim($v['prompt'] ?? '');
153+
return \is_array($v) && '' === trim($v['prompt'] ?? '');
153154
})
154155
->thenInvalid('The "prompt" cannot be empty.')
155156
->end()

0 commit comments

Comments
 (0)