Skip to content

Commit ef69fbe

Browse files
Fix merge
1 parent 532b207 commit ef69fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AmpHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function request(string $method, string $url, array $options = []): Respo
9292
}
9393
}
9494

95-
if (\is_string($options['body']) && '' !== $options['body'] && !isset($options['normalized_headers']['content-type'])) {
95+
if ('' !== $options['body'] && !isset($options['normalized_headers']['content-type'])) {
9696
$options['headers'][] = 'Content-Type: application/x-www-form-urlencoded';
9797
}
9898

0 commit comments

Comments
 (0)