We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0790249 commit 874b858Copy full SHA for 874b858
1 file changed
src/Transport/HttpTransport.php
@@ -99,7 +99,7 @@ protected function hasHeaders(): bool
99
{
100
return isset($this->config['headers'])
101
&& is_array($this->config['headers'])
102
- && ! empty($this->config['headers']);
+ && (isset($this->config['headers']) && $this->config['headers'] !== []);
103
}
104
105
protected function getApiKey(): string
0 commit comments