mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: missing constructor supercall
This commit is contained in:
@@ -4,6 +4,7 @@ namespace App\Service\Connector;
|
|||||||
|
|
||||||
use App\Entity\Domain;
|
use App\Entity\Domain;
|
||||||
use Psr\Cache\CacheItemInterface;
|
use Psr\Cache\CacheItemInterface;
|
||||||
|
use Psr\Cache\CacheItemPoolInterface;
|
||||||
use Symfony\Component\HttpClient\HttpOptions;
|
use Symfony\Component\HttpClient\HttpOptions;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
|
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
|
||||||
@@ -19,8 +20,9 @@ class GandiProvider extends AbstractProvider
|
|||||||
{
|
{
|
||||||
private const BASE_URL = 'https://api.gandi.net';
|
private const BASE_URL = 'https://api.gandi.net';
|
||||||
|
|
||||||
public function __construct(private HttpClientInterface $client)
|
public function __construct(CacheItemPoolInterface $cacheItemPool, private HttpClientInterface $client)
|
||||||
{
|
{
|
||||||
|
parent::__construct($cacheItemPool);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user