protected function dispatchWebhooks(string $type, $detail): void
{
$webhooks = Webhook::query()
- ->whereHas('trackedEvents', function(Builder $query) use ($type) {
+ ->whereHas('trackedEvents', function (Builder $query) use ($type) {
$query->where('event', '=', $type)
->orWhere('event', '=', 'all');
})