8000 minor #44102 [HttpClient] Improve recommendation message for "compose… · symfony/symfony@24c8c25 · GitHub
[go: up one dir, main page]

Skip to content

Commit 24c8c25

Browse files
minor #44102 [HttpClient] Improve recommendation message for "composer req" (jderusse)
This PR was merged into the 5.4 branch. Discussion ---------- [HttpClient] Improve recommendation message for "composer req" | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - related to https://github.com/symfony/symfony/pull/44095/files#r750733564 Commits ------- 6689516 Improve recommendation message for "composer req"
2 parents 4106530 + 6689516 commit 24c8c25

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:^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)
0