Skip to content

Commit b8e8c57

Browse files
[HttpClient] Dev-require php-http/message-factory
1 parent 617c98e commit b8e8c57

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

HttplugClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
}
4848

4949
if (!interface_exists(RequestFactory::class)) {
50-
throw new \LogicException('You cannot use "Symfony\Component\HttpClient\HttplugClient" as the "php-http/message-factory" package is not installed. Try running "composer require nyholm/psr7".');
50+
throw new \LogicException('You cannot use "Symfony\Component\HttpClient\HttplugClient" as the "php-http/message-factory" package is not installed. Try running "composer require php-http/message-factory".');
5151
}
5252

5353
/**

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"guzzlehttp/promises": "^1.4",
3939
"nyholm/psr7": "^1.0",
4040
"php-http/httplug": "^1.0|^2.0",
41+
"php-http/message-factory": "^1.0",
4142
"psr/http-client": "^1.0",
4243
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
4344
"symfony/http-kernel": "^4.4.13|^5.1.5|^6.0",

0 commit comments

Comments
 (0)