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:
Víctor Falcón 2026-07-18 19:29:27 +02:00
parent 78545d314a
commit 2dd89e609b
1 changed files with 1 additions and 1 deletions

View File

@ -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'])