diff --git a/src/ZipperStore.php b/src/ZipperStore.php index 24d1fd1..b99e1f8 100644 --- a/src/ZipperStore.php +++ b/src/ZipperStore.php @@ -17,12 +17,12 @@ public function all(): Collection ->map(fn ($file) => $this->get($file)); } - public function put(string $path, Zipper $zip): bool + public function put(string $path, Zip $zip): bool { return $this->store->put($path, Crypt::encrypt($zip)); } - public function get(string $path): ?Zipper + public function get(string $path): ?Zip { try { return Crypt::decrypt($this->store->get($path));