correct insta
This commit is contained in:
parent
bc03f57516
commit
fbff6bfce2
|
|
@ -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
|
||||
) {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue