Skip to content

Commit b9f2aa7

Browse files
detinkinnicolas-grekas
authored andcommitted
Missing argument in method_exists
1 parent ff296b6 commit b9f2aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)