We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82cc810 + 2995a1e commit 3c6f1efCopy full SHA for 3c6f1ef
src/Jobs/ImportJob.php
@@ -25,7 +25,7 @@ class ImportJob implements ShouldQueue
25
* @param array<string, mixed> $exportParameters
26
*/
27
public function __construct(
28
- private ImportExport $export,
+ private readonly ImportExport $export,
29
private array $exportParameters
30
) {
31
}
@@ -55,7 +55,7 @@ public function handle(): void
55
Excel::import(
56
$importObject,
57
$this->export->{ImportExport::COLUMN_FILENAME},
58
- config('backpack-async-import-export.disk')
+ $this->export->{ImportExport::COLUMN_DISK},
59
);
60
61
$this->export->{ImportExport::COLUMN_STATUS} = ImportExportStatus::Successful;
0 commit comments