10BC0 Missing argument in method_exists · symfony/symfony@d2a8e94 · GitHub
[go: up one dir, main page]

Skip to content

Commit d2a8e94

Browse files
detinkinnicolas-grekas
authored andcommitted
Missing argument in method_exists
1 parent 76f44df commit d2a8e94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpClient/HttpClientTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ private static function normalizeHeaders(array $headers): array
196196
$normalizedHeaders = [];
197197

198198
foreach ($headers as $name => $values) {
199-
if (\is_object($values) && method_exists('__toString')) {
199+
if (\is_object($values) && method_exists($values, '__toString')) {
200200
$values = (string) $values;
201201
}
202202

0 commit comments

Comments
 (0)
0