correct insta

This commit is contained in:
mueh 2026-04-15 14:47:31 +02:00
parent bc03f57516
commit fbff6bfce2
2 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ declare(strict_types=1);
namespace SbpJm\FlarumMSTeamsWebhook\Service;
use Flarum\Settings\SettingsRepositoryInterface;
use GuzzleHttp\ClientInterface;
use GuzzleHttp\Client;
use RuntimeException;
class GraphTokenProvider
@ -14,7 +14,7 @@ class GraphTokenProvider
protected int $expiresAt = 0;
public function __construct(
protected ClientInterface $http,
protected Client $http,
protected SettingsRepositoryInterface $settings
) {
}

View File

@ -7,7 +7,7 @@ namespace SbpJm\FlarumMSTeamsWebhook\Service;
use Flarum\Notification\Blueprint\BlueprintInterface;
use Flarum\Settings\SettingsRepositoryInterface;
use Flarum\User\User;
use GuzzleHttp\ClientInterface;
use GuzzleHttp\Client;
use RuntimeException;
use SbpJm\FlarumMSTeamsWebhook\Support\NotificationPayloadFactory;
use SbpJm\FlarumMSTeamsWebhook\Support\TargetResolver;
@ -15,7 +15,7 @@ use SbpJm\FlarumMSTeamsWebhook\Support\TargetResolver;
class TeamsActivityNotifier
{
public function __construct(
protected ClientInterface $http,
protected Client $http,
protected SettingsRepositoryInterface $settings,
protected GraphTokenProvider $tokenProvider,
protected TargetResolver $targetResolver,