Skip to content

Commit a2e3bcf

Browse files
committed
ref
1 parent 9efdead commit a2e3bcf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/platform/src/Bridge/ElevenLabs/ElevenLabsClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function request(Model $model, array|string $payload, array $options = []
4848
$capabilities = $this->retrieveCapabilities($model);
4949

5050
if (!$capabilities['can_do_text_to_speech']) {
51-
throw new InvalidArgumentException(sprintf('The model "%s" does not support text-to-speech.', $model->getName()));
51+
throw new InvalidArgumentException(\sprintf('The model "%s" does not support text-to-speech.', $model->getName()));
5252
}
5353

5454
return $this->doTextToSpeechRequest($model, $payload, $options);

src/platform/tests/Bridge/ElevenLabs/ElevenLabsClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testClientCannotPerformWithInvalidModel()
5252
[
5353
'model_id' => 'bar',
5454
'can_do_text_to_speech' => false,
55-
]
55+
],
5656
]),
5757
new JsonMockResponse([]),
5858
]);

0 commit comments

Comments
 (0)