Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
vityakut committed May 26, 2024
1 parent 0633c6d commit 0e13fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function register(): void
$this->app->singleton(ClientContract::class, static function (): Client {
$apiKey = config('proxyapi.api_key');

if (!empty($apiKey)) {
if (!is_string($apiKey)) {
throw ApiKeyIsMissing::create();
}

Expand Down

0 comments on commit 0e13fab

Please sign in to comment.