From d5087a9ce38b2f10b17233f25d2450143326b916 Mon Sep 17 00:00:00 2001 From: Brandin Arsenault Date: Fri, 2 Dec 2022 22:52:54 -0400 Subject: [PATCH] CS Fixes --- src/Resources/CharityApi.php | 2 +- src/Resources/EventSubApi.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Resources/CharityApi.php b/src/Resources/CharityApi.php index 8732335..997db4f 100644 --- a/src/Resources/CharityApi.php +++ b/src/Resources/CharityApi.php @@ -29,7 +29,7 @@ public function getCharityCampaignDonations(string $bearer, string $broadcasterI { $queryParamsMap = []; $queryParamsMap[] = ['key' => 'broadcaster_id', 'value' => $broadcasterId]; - + if ($first) { $queryParamsMap[] = ['key' => 'first', 'value' => $first]; } diff --git a/src/Resources/EventSubApi.php b/src/Resources/EventSubApi.php index 3285549..89a05e6 100644 --- a/src/Resources/EventSubApi.php +++ b/src/Resources/EventSubApi.php @@ -671,7 +671,7 @@ private function subscribeToChannelShieldMode(string $bearer, string $secret, st 'beta', [ 'broadcaster_user_id' => $twitchId, - 'moderator_user_id' => $moderatorId + 'moderator_user_id' => $moderatorId, ], ); }