Skip to content

Commit 0154236

Browse files
committed
Improve recommendation message for "composer req"
1 parent cf4981d commit 0154236

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:^4.3".', __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__));
4646
}
4747

4848
$this->client = $client;

0 commit comments

Comments
 (0)