summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2018-09-03 11:05:21 -0400
committerPaul Duncan <pabs@pablotron.org>2018-09-03 11:05:21 -0400
commit7b7fdf2723adda17251387ba76a899bbfc9d46fe (patch)
treecd411c366c7f31f20ec7e176e4e0bddb6de6166f
parent46379956b305037df7599985ecc29ae9006d2b7b (diff)
downloadzipstream-php-7b7fdf2723adda17251387ba76a899bbfc9d46fe.tar.bz2
zipstream-php-7b7fdf2723adda17251387ba76a899bbfc9d46fe.zip
s/get_headers /get_headers() /
-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");
}
}