fix(stats): drop redundant null-coalesce on a guaranteed array key
The report array shape always carries unmappedPriceIds, so the ?? [] was dead and tripped larastan's nullCoalesce.offset. No behaviour change.
This commit is contained in:
parent
78545d314a
commit
2dd89e609b
|
|
@ -128,7 +128,7 @@ class SendPriceExperimentFunnelReportCommand extends Command
|
|||
$lines[] = '⚠ REVENUE UNAVAILABLE — Stripe prices could not be loaded; MRR/CM are blank this run.';
|
||||
}
|
||||
|
||||
if (($report['unmappedPriceIds'] ?? []) !== []) {
|
||||
if ($report['unmappedPriceIds'] !== []) {
|
||||
$lines[] = '';
|
||||
$lines[] = '⚠ UNMAPPED PRICES — net-active subs on price ids absent from the revenue map '
|
||||
.'(MRR undercounted as 0): '.implode(', ', $report['unmappedPriceIds'])
|
||||
|
|
|
|||
Loading…
Reference in New Issue