Skip to content

Commit 4a608be

Browse files
author
Kyra Farrow
committed
[HttpClient] remove unused argument
1 parent b532d99 commit 4a608be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CachingHttpClient.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\HttpClient;
1313

14-
use Psr\Log\LoggerInterface;
1514
use Symfony\Component\HttpClient\Response\MockResponse;
1615
use Symfony\Component\HttpClient\Response\ResponseStream;
1716
use Symfony\Component\HttpFoundation\Request;
@@ -39,7 +38,7 @@ class CachingHttpClient implements HttpClientInterface
3938
private $cache;
4039
private $defaultOptions = self::OPTIONS_DEFAULTS;
4140

42-
public function __construct(HttpClientInterface $client, StoreInterface $store, array $defaultOptions = [], LoggerInterface $logger = null)
41+
public function __construct(HttpClientInterface $client, StoreInterface $store, array $defaultOptions = [])
4342
{
4443
if (!class_exists(HttpClientKernel::class)) {
4544
throw new \LogicException(sprintf('Using "%s" requires that the HttpKernel component version 4.3 or higher is installed, try running "composer require symfony/http-kernel:^4.3".', __CLASS__));

0 commit comments

Comments
 (0)