summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/HttpClient.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpClient.php b/src/HttpClient.php
index bfc65dc8..e469dd30 100644
--- a/src/HttpClient.php
+++ b/src/HttpClient.php
@@ -59,7 +59,7 @@ class HttpClient
* key MUST be a header name, and each value MUST be an array of strings
* for that header.
*/
- public function respond(int $status, string $body, $headers = [])
+ public function respond(int $status, string $body, array $headers = [])
{
if (empty($headers)) {
// this is required to represent empty header set as map and not as array