Skip to content

Commit

Permalink
Fix missing rename
Browse files Browse the repository at this point in the history
  • Loading branch information
aerni committed Aug 13, 2024
1 parent 13b2a8e commit eb0dc7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZipperStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit eb0dc7a

Please sign in to comment.