fix: missing constructor supercall

This commit is contained in:
Vincent 2024-09-26 13:39:35 +02:00
parent a7b09833c6
commit b162f2313e
No known key found for this signature in database
GPG Key ID: 056662E78D70E358

View File

@ -4,6 +4,7 @@ namespace App\Service\Connector;
use App\Entity\Domain;
use Psr\Cache\CacheItemInterface;
use Psr\Cache\CacheItemPoolInterface;
use Symfony\Component\HttpClient\HttpOptions;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
@ -19,8 +20,9 @@ class GandiProvider extends AbstractProvider
{
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);
}
/**