Skip to content

Commit c22e957

Browse files
committed
feat: update visibility job properties
1 parent 3c6f1ef commit c22e957

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/Jobs/ExportJob.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,11 @@ class ExportJob implements ShouldQueue
2525
use Queueable;
2626
use SerializesModels;
2727

28-
private ImportExport $export;
29-
3028
/**
3129
* @param array<string, mixed> $exportParameters
3230
*/
33-
public function __construct(ImportExport $export, private array $exportParameters)
31+
public function __construct(protected ImportExport $export, protected array $exportParameters)
3432
{
35-
$this->export = $export;
36-
$this->exportParameters = $exportParameters;
3733
}
3834

3935
public function handle(): self

src/Jobs/ImportJob.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class ImportJob implements ShouldQueue
2525
* @param array<string, mixed> $exportParameters
2626
*/
2727
public function __construct(
28-
private readonly ImportExport $export,
29-
private array $exportParameters
28+
protected readonly ImportExport $export,
29+
protected array $exportParameters
3030
) {
3131
}
3232

0 commit comments

Comments
 (0)