Skip to content

Commit 7d9ac24

Browse files
committed
update pint
1 parent cf58805 commit 7d9ac24

File tree

158 files changed

+160
-319
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+160
-319
lines changed

src/Contracts/ResponseStreamContract.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,4 @@
1313
*
1414
* @internal
1515
*/
16-
interface ResponseStreamContract extends IteratorAggregate
17-
{
18-
}
16+
interface ResponseStreamContract extends IteratorAggregate {}

src/Exceptions/InvalidArgumentException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@
66

77
use Exception;
88

9-
final class InvalidArgumentException extends Exception
10-
{
11-
}
9+
final class InvalidArgumentException extends Exception {}

src/Exceptions/UnknownEventException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@
66

77
use Exception;
88

9-
final class UnknownEventException extends Exception
10-
{
11-
}
9+
final class UnknownEventException extends Exception {}

src/OpenAI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ public static function client(string $apiKey, ?string $organization = null, ?str
2525
*/
2626
public static function factory(): Factory
2727
{
28-
return new Factory();
28+
return new Factory;
2929
}
3030
}

src/Responses/Assistants/AssistantDeleteResponse.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ private function __construct(
2929
public readonly string $object,
3030
public readonly bool $deleted,
3131
private readonly MetaInformation $meta,
32-
) {
33-
}
32+
) {}
3433

3534
/**
3635
* Acts as static factory, and returns a new Response instance.

src/Responses/Assistants/AssistantListResponse.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ private function __construct(
3434
public readonly ?string $lastId,
3535
public readonly bool $hasMore,
3636
private readonly MetaInformation $meta,
37-
) {
38-
}
37+
) {}
3938

4039
/**
4140
* Acts as static factory, and returns a new Response instance.

src/Responses/Assistants/AssistantResponse.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ private function __construct(
4343
public ?float $topP,
4444
public string|AssistantResponseResponseFormat $responseFormat,
4545
private readonly MetaInformation $meta,
46-
) {
47-
}
46+
) {}
4847

4948
/**
5049
* Acts as static factory, and returns a new Response instance.

src/Responses/Assistants/AssistantResponseResponseFormat.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ final class AssistantResponseResponseFormat implements ResponseContract
2222

2323
private function __construct(
2424
public string $type,
25-
) {
26-
}
25+
) {}
2726

2827
/**
2928
* Acts as static factory, and returns a new Response instance.

src/Responses/Assistants/AssistantResponseResponseFormatText.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ final class AssistantResponseResponseFormatText implements ResponseContract
2222

2323
private function __construct(
2424
public string $type,
25-
) {
26-
}
25+
) {}
2726

2827
/**
2928
* Acts as static factory, and returns a new Response instance.

src/Responses/Assistants/AssistantResponseToolCodeInterpreter.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ final class AssistantResponseToolCodeInterpreter implements ResponseContract
2222

2323
private function __construct(
2424
public string $type,
25-
) {
26-
}
25+
) {}
2726

2827
/**
2928
* Acts as static factory, and returns a new Response instance.

0 commit comments

Comments
 (0)