Skip to content

Commit

Permalink
Merge pull request #164 from SanderMuller/patch-1
Browse files Browse the repository at this point in the history
Fix handleRemoteDisk return type
  • Loading branch information
patrickbrouwers authored May 6, 2023
2 parents 3027cfe + acf70f4 commit 74e3568
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Actions/DownloadExcel.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ public function handle(ActionRequest $request, Action $exportable)
/**
* @param ActionRequest $request
* @param Action $exportable
* @return array
* @return mixed
*/
public function handleRemoteDisk(ActionRequest $request, Action $exportable): array
public function handleRemoteDisk(ActionRequest $request, Action $exportable): mixed
{
$temporaryFilePath = config('excel.temporary_files.remote_prefix') . 'laravel-excel-' . Str::random(32) . '.' . $this->getDefaultExtension();
$isStored = Excel::store($exportable, $temporaryFilePath, config('excel.temporary_files.remote_disk'), $this->getWriterType());
Expand Down

0 comments on commit 74e3568

Please sign in to comment.