Skip to content

Commit c4277e3

Browse files
committed
Fixes never type
1 parent 6e2ccb7 commit c4277e3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/Resources/Files.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ public function delete(string $file): never
5151
}
5252

5353
/**
54-
*Returns information about a specific file.
54+
* Returns information about a specific file.
5555
*
5656
* @see https://beta.openai.com/docs/api-reference/files/retrieve
5757
*
5858
* @return array<string, mixed>
5959
*/
60-
public function retrieve(string $file): void
60+
public function retrieve(string $file): never
6161
{
6262
throw new Exception('Not implemented yet.');
6363
}
@@ -66,10 +66,8 @@ public function retrieve(string $file): void
6666
* Returns the contents of the specified file
6767
*
6868
* @see https://beta.openai.com/docs/api-reference/files/retrieve-content
69-
*
70-
* @return array<string, mixed>
7169
*/
72-
public function download(string $file): void
70+
public function download(string $file): never
7371
{
7472
throw new Exception('Not implemented yet.');
7573
}

0 commit comments

Comments
 (0)