From 71b5d9dbbfe164b920459d7be0879be4abd241e9 Mon Sep 17 00:00:00 2001 From: Deeka Wong <8337659+huangdijia@users.noreply.github.com> Date: Tue, 15 Aug 2023 13:11:46 +0800 Subject: [PATCH] Cs Fix --- src/ClientFactory.php | 1 + src/ConfigProvider.php | 1 + src/Exception/ApiKeyIsMissing.php | 1 + 3 files changed, 3 insertions(+) diff --git a/src/ClientFactory.php b/src/ClientFactory.php index f5d285f..e8c70bc 100644 --- a/src/ClientFactory.php +++ b/src/ClientFactory.php @@ -8,6 +8,7 @@ * @document https://github.com/friendsofhyperf/components/blob/3.0/README.md * @contact huangdijia@gmail.com */ + namespace FriendsOfHyperf\OpenAi; use FriendsOfHyperf\OpenAi\Exception\ApiKeyIsMissing; diff --git a/src/ConfigProvider.php b/src/ConfigProvider.php index 558ed71..2bb8628 100644 --- a/src/ConfigProvider.php +++ b/src/ConfigProvider.php @@ -8,6 +8,7 @@ * @document https://github.com/friendsofhyperf/components/blob/3.0/README.md * @contact huangdijia@gmail.com */ + namespace FriendsOfHyperf\OpenAi; use OpenAI\Client; diff --git a/src/Exception/ApiKeyIsMissing.php b/src/Exception/ApiKeyIsMissing.php index 28d2f35..d46b8cb 100644 --- a/src/Exception/ApiKeyIsMissing.php +++ b/src/Exception/ApiKeyIsMissing.php @@ -8,6 +8,7 @@ * @document https://github.com/friendsofhyperf/components/blob/3.0/README.md * @contact huangdijia@gmail.com */ + namespace FriendsOfHyperf\OpenAi\Exception; use InvalidArgumentException;