} return 0;
} /**
* @return array{0:string,1:string,2:string}|null
*/
private static function renderRecurringMessage(RecurringMessage
$recurringMessage, \DateTimeImmutable
$date, bool
$all): ?array
{ $trigger =
$recurringMessage->
getTrigger();
$next =
$trigger->
getNextRunDate($date)?->
format('r'
) ?? '-';
if ('-' ===
$next && !
$all) { return null;
} return [(string) $trigger,
$recurringMessage->
getProvider()::
class,
$next];
}}