Skip to content

Commit f999a5d

Browse files
authored
chore(OpenAI): unify typing on file citation object (#698)
1 parent d4108e3 commit f999a5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Responses/Responses/Output/OutputMessageContentOutputTextAnnotationsFileCitation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
final class OutputMessageContentOutputTextAnnotationsFileCitation implements ResponseContract
1717
{
1818
/**
19-
* @use ArrayAccessible<array{file_id: string, filename: string, index: int, type: 'file_citation'}>
19+
* @use ArrayAccessible<FileCitationType>
2020
*/
2121
use ArrayAccessible;
2222

@@ -33,7 +33,7 @@ private function __construct(
3333
) {}
3434

3535
/**
36-
* @param array{file_id: string, filename: string, index: int, type: 'file_citation'} $attributes
36+
* @param FileCitationType $attributes
3737
*/
3838
public static function from(array $attributes): self
3939
{

0 commit comments

Comments
 (0)