Skip to content

Commit 7767b3e

Browse files
committed
ref
1 parent f1d1d58 commit 7767b3e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

demo/tests/Blog/Command/StreamCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ public function setRawResult(RawResultInterface $rawResult): void
5858
{
5959
}
6060

61-
public function addSpeech(Speech $speech): void
61+
public function addSpeech(?Speech $speech = null): void
6262
{
6363
}
6464

65-
public function getSpeech(string $identifier): Speech
65+
public function getSpeech(): ?Speech
6666
{
6767
return new Speech(new DeferredResult(new PlainConverter(new TextResult('foo')), new InMemoryRawResult()), 'bar');
6868
}

src/ai-bundle/tests/DependencyInjection/AiBundleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7196,9 +7196,9 @@ private function getFullConfig(): array
71967196
'api_key' => 'elevenlabs_key_full',
71977197
'speech' => [
71987198
'tts_model' => 'foo',
7199-
'tts_voice' => 'bar',
72007199
'tts_options' => [
72017200
'foo' => 'bar',
7201+
'voice' => 'bar',
72027202
],
72037203
'stt_model' => 'foo',
72047204
'stt_options' => [

0 commit comments

Comments
 (0)