Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 8.4 support #133

Open
littlejohn-ai opened this issue Jan 13, 2025 · 0 comments
Open

Add 8.4 support #133

littlejohn-ai opened this issue Jan 13, 2025 · 0 comments

Comments

@littlejohn-ai
Copy link

littlejohn-ai commented Jan 13, 2025

PHP Deprecated:  OpenAI::client(): Implicitly marking parameter $organization as nullable is deprecated, the explicit nullable type must be used instead in vendor/openai-php/client/src/OpenAI.php on line 13

Deprecated: OpenAI::client(): Implicitly marking parameter $organization as nullable is deprecated, the explicit nullable type must be used instead in vendor/openai-php/client/src/OpenAI.php on line 13

It's easy fix:

public static function client(string $apiKey, ?string $organization = null): Client

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant