Missing argument in method_exists
This commit is contained in:
parent
76f44df8ff
commit
d2a8e94c79
@ -196,7 +196,7 @@ trait HttpClientTrait
|
||||
$normalizedHeaders = [];
|
||||
|
||||
foreach ($headers as $name => $values) {
|
||||
if (\is_object($values) && method_exists('__toString')) {
|
||||
if (\is_object($values) && method_exists($values, '__toString')) {
|
||||
$values = (string) $values;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user