From 69947587320fa319939aadee725b79a0841e54d8 Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 4 Jun 2024 18:40:04 +1000 Subject: [PATCH] Prefix is an optional argument, so default it to blank --- app/Jobs/EchoareaImport.php | 2 +- app/Jobs/FileareaImport.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Jobs/EchoareaImport.php b/app/Jobs/EchoareaImport.php index a8f0b42..9469211 100644 --- a/app/Jobs/EchoareaImport.php +++ b/app/Jobs/EchoareaImport.php @@ -35,7 +35,7 @@ class EchoareaImport implements ShouldQueue * @param bool $delete_recs * @param bool $delete_file */ - public function __construct(string $file,Domain $do,string $prefix,bool $delete_recs=FALSE,bool $delete_file=FALSE) + public function __construct(string $file,Domain $do,string $prefix='',bool $delete_recs=FALSE,bool $delete_file=FALSE) { $this->file = $file; $this->do = $do; diff --git a/app/Jobs/FileareaImport.php b/app/Jobs/FileareaImport.php index 464ce7a..5cfa049 100644 --- a/app/Jobs/FileareaImport.php +++ b/app/Jobs/FileareaImport.php @@ -35,7 +35,7 @@ class FileareaImport implements ShouldQueue * @param bool $delete_recs * @param bool $delete_file */ - public function __construct(string $file,Domain $do,string $prefix,bool $delete_recs=FALSE,bool $delete_file=FALSE) + public function __construct(string $file,Domain $do,string $prefix='',bool $delete_recs=FALSE,bool $delete_file=FALSE) { $this->file = $file; $this->do = $do;