Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nasrulhazim committed Nov 5, 2024
1 parent 8f4070a commit bfd6a23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Connector.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace CleaniqueCoders\KongAdminApi;

use Saloon\Contracts\Authenticator;
use Saloon\Http\Auth\HeaderAuthenticator;
use Saloon\Http\Connector as Base;

Expand Down Expand Up @@ -50,9 +51,9 @@ protected function defaultHeaders(): array
/**
* Set up the default authentication for Kong Admin API requests.
*
* @return HeaderAuthenticator The authenticator with API key and key name
* @return Authenticator The authenticator with API key and key name
*/
protected function defaultAuth(): HeaderAuthenticator
protected function defaultAuth(): ?Authenticator
{
return new HeaderAuthenticator(
$this->configuration->getApiKey(),
Expand Down

0 comments on commit bfd6a23

Please sign in to comment.