Skip to content

Commit d04ed19

Browse files
committed
minor symfony#58567 [HttpClient] Fix class requirement message (alexandre-daubois)
This PR was merged into the 6.4 branch. Discussion ---------- [HttpClient] Fix class requirement message | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes, kind of | New feature? | no | Deprecations? | no | Issues | - | License | MIT The message is a bit outdated and mentions Symfony 4.3. Commits ------- bb0112b [HttpClient] Fix class requirement message
2 parents 5bc387b + bb0112b commit d04ed19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpClient/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)