Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit abc4dba

Browse files
authored
Missing argument in method_exists
1 parent c216f7f commit abc4dba

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
@@ -199,7 +199,7 @@ private static function normalizeHeaders(array $headers): array
199199
$normalizedHeaders = [];
200200

201201
foreach ($headers as $name => $values) {
202-
if (\is_object($values) && method_exists('__toString')) {
202+
if (\is_object($values) && method_exists($values, '__toString')) {
203203
$values = (string) $values;
204204
}
205205

0 commit comments

Comments
 (0)