Skip to content

Commit 2a1e7c9

Browse files
committed
add use OAuthTokenManager and create instance in constructor
1 parent 8df5cfc commit 2a1e7c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Services/InfoProviderSystem/Providers/BuerklinProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
use App\Services\InfoProviderSystem\DTOs\PriceDTO;
3131
use App\Services\InfoProviderSystem\DTOs\PurchaseInfoDTO;
3232
use App\Services\InfoProviderSystem\DTOs\SearchResultDTO;
33+
use App\Services\OAuth\OAuthTokenManager;
3334
use App\Settings\InfoProviderSystem\BuerklinSettings;
3435
use Psr\Cache\CacheItemPoolInterface;
3536
use Symfony\Contracts\HttpClient\HttpClientInterface;
@@ -50,9 +51,10 @@ class BuerklinProvider implements BatchInfoProviderInterface
5051

5152
public function __construct(
5253
private readonly HttpClientInterface $client,
54+
private readonly OAuthTokenManager $authTokenManager,
5355
private readonly CacheItemPoolInterface $partInfoCache,
5456
private readonly BuerklinSettings $settings,
55-
) {
57+
) {
5658

5759
}
5860

0 commit comments

Comments
 (0)