Prefix is an optional argument, so default it to blank
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 38s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m54s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2024-06-04 18:40:04 +10:00
parent 27cdb02b06
commit 6994758732
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;