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 f494740 commit ef06ebcCopy full SHA for ef06ebc
1 file changed
src/Audio/PendingRequest.php
@@ -59,7 +59,7 @@ public function asText(): TextResponse
59
}
60
61
62
- protected function toTextToSpeechRequest(): TextToSpeechRequest
+ public function toTextToSpeechRequest(): TextToSpeechRequest
63
{
64
if (! is_string($this->input)) {
65
throw new InvalidArgumentException('Text-to-speech requires string input');
@@ -76,7 +76,7 @@ protected function toTextToSpeechRequest(): TextToSpeechRequest
76
);
77
78
79
- protected function toSpeechToTextRequest(): SpeechToTextRequest
+ public function toSpeechToTextRequest(): SpeechToTextRequest
80
81
if (! ($this->input instanceof Audio)) {
82
throw new InvalidArgumentException('Speech-to-text requires Audio input');
0 commit comments