Skip to content

Commit 81ab0cd

Browse files
committed
Add default values on export job properties
1 parent 955c1cd commit 81ab0cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Jobs/DataTableExportJob.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ class DataTableExportJob implements ShouldQueue, ShouldBeUnique
3737
use SerializesModels;
3838
use Batchable;
3939

40-
public string $dataTable;
40+
public string $dataTable = '';
4141

42-
public array $attributes;
42+
public array $attributes = [];
4343

44-
public array $request;
44+
public array $request = [];
4545

46-
public string $sheetName;
46+
public string $sheetName = '';
4747

4848
/**
4949
* @var int|string

0 commit comments

Comments
 (0)