M3 Security Fixes for Pass 35

This commit is contained in:
Mark Gregory
2026-09-17 12:28:47 +01:00
parent 502b226e44
commit a4fd6709f4
8 changed files with 10 additions and 15 deletions
+5 -6
View File
@@ -32,7 +32,7 @@ class ClosedOrderSaveXls extends Command
*
* @return void
*/
/**
/**
* Execute the console command.
*
* @return int
@@ -95,7 +95,7 @@ class ClosedOrderSaveXls extends Command
str_replace('-', '', $to),
$file,
! Storage::disk('publicCL')->exists($file),
'Last Month'
'Last Month',
);
}
@@ -117,7 +117,7 @@ class ClosedOrderSaveXls extends Command
str_replace('-', '', $to),
$file,
true,
'Current Month'
'Current Month',
);
}
@@ -129,7 +129,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);
@@ -217,8 +217,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),
);
}
}