Showing 52 of 52 total issues
Avoid too many return
statements within this method. Open
Open
return [
self::TYPE => \constant(StripeWebhookSourceEventEvent::class . '::' . $pieces[self::TYPE]),
self::OBJECT => $dispatchingEvent,
];
Avoid too many return
statements within this method. Open
Open
return [
self::TYPE => \constant(StripeWebhookPingEventEvent::class . '::' . $pieces[self::TYPE]),
self::OBJECT => $dispatchingEvent,
];
Avoid too many return
statements within this method. Open
Open
return [
self::TYPE => \constant(StripeWebhookInvoiceItemEventEvent::class . '::' . $pieces[self::TYPE]),
self::OBJECT => $dispatchingEvent,
];
Avoid too many return
statements within this method. Open
Open
return [self::TYPE => null, self::OBJECT => null];
Avoid too many return
statements within this method. Open
Open
return [
self::TYPE => \constant(StripeWebhookInvoiceEventEvent::class . '::' . $pieces[self::TYPE]),
self::OBJECT => $dispatchingEvent,
];
Avoid too many return
statements within this method. Open
Open
return [
self::TYPE => \constant(StripeWebhookCouponEventEvent::class . '::' . $pieces[self::TYPE]),
self::OBJECT => $dispatchingEvent,
];
Avoid too many return
statements within this method. Open
Open
return [
self::TYPE => \constant(StripeWebhookProductEventEvent::class . '::' . $pieces[self::TYPE]),
self::OBJECT => $dispatchingEvent,
];
Avoid too many return
statements within this method. Open
Open
return [
self::TYPE => \constant(StripeWebhookRecipientEventEvent::class . '::' . $pieces[self::TYPE]),
self::OBJECT => $dispatchingEvent,
];
Avoid too many return
statements within this method. Open
Open
return [
self::TYPE => \constant(StripeWebhookChargeEventEvent::class . '::' . $pieces[self::TYPE]),
self::OBJECT => $dispatchingEvent,
];
Avoid too many return
statements within this method. Open
Open
return [
self::TYPE => \constant(StripeWebhookOrderReturnEventEvent::class . '::' . $pieces[self::TYPE]),
self::OBJECT => $dispatchingEvent,
];
Avoid too many return
statements within this method. Open
Open
return [
self::TYPE => \constant(StripeWebhookReviewEvent::class . '::' . $pieces[self::TYPE]),
self::OBJECT => $dispatchingEvent,
];
Avoid too many return
statements within this method. Open
Open
return [
self::TYPE => \constant(StripeWebhookCustomerEventEvent::class . '::' . $pieces[self::TYPE]),
self::OBJECT => $dispatchingEvent,
];