From f9611cd0d2551ae706ace520d6d2a6f3513499e8 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 2 Sep 2018 14:25:06 -0400 Subject: documentation updates, fix composer.json --- src/ZipStream.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/ZipStream.php') diff --git a/src/ZipStream.php b/src/ZipStream.php index b3f41dd..b545bab 100644 --- a/src/ZipStream.php +++ b/src/ZipStream.php @@ -1,7 +1,7 @@ * @copyright 2007-2018 Paul Duncan @@ -1090,7 +1090,7 @@ final class Entry { }; /** - * Dynamically generate streamed zip file. + * Dynamically generate streamed zip archives. * * @api * @@ -1149,7 +1149,10 @@ final class ZipStream { */ public function __construct(string $name, array $args = []) { try { + # set state $this->state = self::STREAM_STATE_INIT; + + # set name and args $this->name = $name; $this->args = array_merge(self::$ARCHIVE_DEFAULTS, [ 'time' => time(), -- cgit v1.2.3