Skip to content

Commit 74e3568

Browse files
Merge pull request #164 from SanderMuller/patch-1
Fix handleRemoteDisk return type
2 parents 3027cfe + acf70f4 commit 74e3568

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Actions/DownloadExcel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ public function handle(ActionRequest $request, Action $exportable)
5555
/**
5656
* @param ActionRequest $request
5757
* @param Action $exportable
58-
* @return array
58+
* @return mixed
5959
*/
60-
public function handleRemoteDisk(ActionRequest $request, Action $exportable): array
60+
public function handleRemoteDisk(ActionRequest $request, Action $exportable): mixed
6161
{
6262
$temporaryFilePath = config('excel.temporary_files.remote_prefix') . 'laravel-excel-' . Str::random(32) . '.' . $this->getDefaultExtension();
6363
$isStored = Excel::store($exportable, $temporaryFilePath, config('excel.temporary_files.remote_disk'), $this->getWriterType());

0 commit comments

Comments
 (0)