Lines 0.00% 0 / 2
Methods 0.00% 0 / 2
Classes 0.00% 0 / 1
Name Lines Methods CRAP
 __construct 0.00% 0 / 1 0.00% 0 / 1 2
 getOutboxDelivery 0.00% 0 / 1 0.00% 0 / 1 2
12final readonly class TopicMessage implements BrokerMessage
13{
14    /** @param list<SubscriptionId> $deliverTo */
15    public function __construct(
16        public TopicEvent $event,
17        #[ListOf(SubscriptionId::class)]
18        public array $deliverTo,
19    ) {}
20
21    public function getOutboxDelivery(): OutboxDelivery
22    {
23        return OutboxDelivery::Droppable;
24    }
25}