Skip to content

Commit 102f262

Browse files
committed
fix: TranscriptionResponse's from method attributes type
1 parent a7817db commit 102f262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Responses/Audio/TranscriptionResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ private function __construct(
3232
/**
3333
* Acts as static factory, and returns a new Response instance.
3434
*
35-
* @param array{task: ?string, language: ?string, duration: ?float, segments: array<int, array{id: int, seek: int, start: float, end: float, text: string, tokens: array<int, int>, temperature: float, avg_logprob: float, compression_ratio: float, no_speech_prob: float, transient: bool}>, text: string} $attributes
35+
* @param array{task: ?string, language: ?string, duration: ?float, segments: array<int, array{id: int, seek: int, start: float, end: float, text: string, tokens: array<int, int>, temperature: float, avg_logprob: float, compression_ratio: float, no_speech_prob: float, transient: bool}>, text: string}|string $attributes
3636
*/
3737
public static function from(array|string $attributes): self
3838
{

0 commit comments

Comments
 (0)