diff options
author | Wolfy-J <[email protected]> | 2019-01-31 15:16:09 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2019-01-31 15:16:09 +0300 |
commit | 1f1f09cee8f07bbb2dcd160253c3149a7baac523 (patch) | |
tree | 9b24b72407dee089eece2914e73b3fc58fb2079f | |
parent | 91423f63b2fc79daf0afb51715bedafe647f0c47 (diff) |
CS
-rw-r--r-- | src/HttpClient.php | 2 |
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 |