diff options
author | Paul Duncan <pabs@pablotron.org> | 2018-09-03 11:05:21 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2018-09-03 11:05:21 -0400 |
commit | 7b7fdf2723adda17251387ba76a899bbfc9d46fe (patch) | |
tree | cd411c366c7f31f20ec7e176e4e0bddb6de6166f | |
parent | 46379956b305037df7599985ecc29ae9006d2b7b (diff) | |
download | zipstream-php-7b7fdf2723adda17251387ba76a899bbfc9d46fe.tar.bz2 zipstream-php-7b7fdf2723adda17251387ba76a899bbfc9d46fe.zip |
s/get_headers /get_headers() /
-rw-r--r-- | src/ZipStream.php | 2 |
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"); } } |