10BC0
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.
1 parent 76f44df commit d2a8e94Copy full SHA for d2a8e94
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