Skip to content

Commit

Permalink
[HttpClient] Fix class requirement message
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-daubois committed Oct 14, 2024
1 parent 9990ced commit 509d0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CachingHttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class CachingHttpClient implements HttpClientInterface, ResetInterface
public function __construct(HttpClientInterface $client, StoreInterface $store, array $defaultOptions = [])
{
if (!class_exists(HttpClientKernel::class)) {
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:^5.4".', __CLASS__));
throw new \LogicException(sprintf('Using "%s" requires the HttpKernel component, try running "composer require symfony/http-kernel".', __CLASS__));
}

$this->client = $client;
Expand Down

0 comments on commit 509d0e8

Please sign in to comment.