Skip to content

Commit 874b858

Browse files
committed
Formatting
1 parent 0790249 commit 874b858

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Transport/HttpTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ protected function hasHeaders(): bool
9999
{
100100
return isset($this->config['headers'])
101101
&& is_array($this->config['headers'])
102-
&& ! empty($this->config['headers']);
102+
&& (isset($this->config['headers']) && $this->config['headers'] !== []);
103103
}
104104

105105
protected function getApiKey(): string

0 commit comments

Comments
 (0)