8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76f44df + d2a8e94 commit 9c63561Copy full SHA for 9c63561
src/Symfony/Component/HttpClient/HttpClientTrait.php
@@ -196,7 +196,7 @@ private static function normalizeHeaders(array $headers): array
196
$normalizedHeaders = [];
197
198
foreach ($headers as $name => $values) {
199
- if (\is_object($values) && method_exists('__toString')) {
+ if (\is_object($values) && method_exists($values, '__toString')) {
200
$values = (string) $values;
201
}
202
0 commit comments