Skip to content

Commit 509d0e8

Browse files
[HttpClient] Fix class requirement message
1 parent 9990ced commit 509d0e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CachingHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class CachingHttpClient implements HttpClientInterface, ResetInterface
4242
public function __construct(HttpClientInterface $client, StoreInterface $store, array $defaultOptions = [])
4343
{
4444
if (!class_exists(HttpClientKernel::class)) {
45-
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__));
45+
throw new \LogicException(sprintf('Using "%s" requires the HttpKernel component, try running "composer require symfony/http-kernel".', __CLASS__));
4646
}
4747

4848
$this->client = $client;

0 commit comments

Comments
 (0)