Skip to content

Commit 1c4ca4a

Browse files
authored
Merge pull request #75 from yajra/fix-class
fix: class name when using an abstract base
2 parents 21fef47 + 08af96b commit 1c4ca4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WithExportQueue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function render(?string $view = null, array $data = [], array $mergeData
3636
public function exportQueue(): string
3737
{
3838
$job = new DataTableExportJob(
39-
[self::class, $this->attributes],
39+
[get_class($this), $this->attributes],
4040
request()->all(),
4141
Auth::id() ?? 0,
4242
$this->sheetName(),

0 commit comments

Comments
 (0)