M3 Security Fixes for scan command pass 33 major code smell fixes and style fixes
This commit is contained in:
@@ -100,7 +100,7 @@ class ClosedOrderSaveXls extends Command
|
||||
str_replace('-', '', $to),
|
||||
$file,
|
||||
! Storage::disk('publicCL')->exists($file),
|
||||
'Last Month'
|
||||
'Last Month',
|
||||
);
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ class ClosedOrderSaveXls extends Command
|
||||
str_replace('-', '', $to),
|
||||
$file,
|
||||
true,
|
||||
'Current Month'
|
||||
'Current Month',
|
||||
);
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ class ClosedOrderSaveXls extends Command
|
||||
string $to,
|
||||
string $file,
|
||||
bool $shouldGenerate,
|
||||
string $label
|
||||
string $label,
|
||||
): void {
|
||||
$this->info('From Date: ' . $from);
|
||||
$this->info('To Date: ' . $to);
|
||||
@@ -222,8 +222,7 @@ SQL;
|
||||
|
||||
Log::channel('dailyCron')->info(
|
||||
'Maximum allowed records for Excel export is: ' . number_format($maxRecords)
|
||||
. ' current records: ' . number_format($count)
|
||||
. ' current records: ' . number_format($count),
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user