diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 8d783e8..1f93812 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -4,6 +4,7 @@ namespace OpenAI\Laravel; +use Illuminate\Contracts\Support\DeferrableProvider; use Illuminate\Support\ServiceProvider as BaseServiceProvider; use OpenAI; use OpenAI\Client; @@ -12,7 +13,7 @@ /** * @internal */ -final class ServiceProvider extends BaseServiceProvider +final class ServiceProvider extends BaseServiceProvider implements DeferrableProvider { /** * Register any application services. diff --git a/tests/Arch.php b/tests/Arch.php index 4308de3..5cfebdb 100644 --- a/tests/Arch.php +++ b/tests/Arch.php @@ -16,6 +16,7 @@ 'Illuminate\Support\ServiceProvider', 'OpenAI\Laravel', 'OpenAI', + 'Illuminate\Contracts\Support\DeferrableProvider', // helpers... 'config',