aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ZipStream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ZipStream.php b/src/ZipStream.php
index 3f2d480..ecb7167 100644
--- a/src/ZipStream.php
+++ b/src/ZipStream.php
@@ -205,7 +205,7 @@ final class HTTPResponseWriter implements Writer {
*/
public function open() : void {
# write response headers
- foreach ($this->get_headers as $key => $val) {
+ foreach ($this->get_headers() as $key => $val) {
header("$key: $val");
}
}