Skip to content

Commit 5db3a9d

Browse files
committed
Switch this from FQDN to an import
1 parent 4192830 commit 5db3a9d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Kobas/APIClient/Auth/Provider.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Kobas\APIClient\Exception\CurlException;
88
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
99
use League\OAuth2\Client\Token\AccessToken;
10+
use Kobas\OAuth2\Client\Provider\Kobas as OAuthProvider;
1011

1112
/**
1213
* Class OAuthSigner
@@ -110,11 +111,11 @@ public function getAccessToken()
110111
}
111112

112113
/**
113-
* @return \Kobas\OAuth2\Client\Provider\Kobas
114+
* @return OAuthProvider
114115
*/
115116
public function getProvider()
116117
{
117-
$provider = new \Kobas\OAuth2\Client\Provider\Kobas([
118+
$provider = new OAuthProvider([
118119
'clientId' => $this->clientId,
119120
'clientSecret' => $this->clientSecret,
120121
'companyId' => $this->companyId,

0 commit comments

Comments
 (0)