Skip to content

Commit

Permalink
Improve recommendation message for "composer req"
Browse files Browse the repository at this point in the history
  • Loading branch information
jderusse committed Nov 17, 2021
1 parent cf4981d commit 0154236
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:^4.3".', __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__));
}

$this->client = $client;
Expand Down

0 comments on commit 0154236

Please sign in to comment.