Skip to content

Commit

Permalink
This should be an array. Oops!
Browse files Browse the repository at this point in the history
  • Loading branch information
aerni committed May 26, 2022
1 parent 462452c commit c5ba655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zipper.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static function route(Collection|array $files, ?string $filename = null):

public static function create(Collection|array $files, ?string $filename = null)
{
$files = collect(self::files($files))->filter(fn ($file) => self::fileExists($file));
$files = collect(self::files($files))->filter(fn ($file) => self::fileExists($file))->all();

$zip = Zip::create(self::filename($filename), $files);

Expand Down

0 comments on commit c5ba655

Please sign in to comment.