From b162f2313e5d28263764178a3fb5efe697bbeff3 Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 26 Sep 2024 13:39:35 +0200 Subject: [PATCH] fix: missing constructor supercall --- src/Service/Connector/GandiProvider.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Service/Connector/GandiProvider.php b/src/Service/Connector/GandiProvider.php index 1742c28..54913d6 100644 --- a/src/Service/Connector/GandiProvider.php +++ b/src/Service/Connector/GandiProvider.php @@ -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); } /**