diff --git a/src/VIPSoft/Unzip/Unzip.php b/src/VIPSoft/Unzip/Unzip.php index ddce421..32755f3 100644 --- a/src/VIPSoft/Unzip/Unzip.php +++ b/src/VIPSoft/Unzip/Unzip.php @@ -180,7 +180,7 @@ public function extract($zipFile, $targetPath) throw new \Exception($this->getError($zipArchive->status)); } - $ziparchive->close(); + $zipArchive->close(); return $filenames; }