Skip to content

Commit

Permalink
♻️ Refactor code to improve code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
marcreichel committed Oct 22, 2021
1 parent 2398386 commit c23f6ca
Show file tree
Hide file tree
Showing 54 changed files with 119 additions and 121 deletions.
2 changes: 1 addition & 1 deletion config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
* This needs to be a string of your choice in order to use the webhook
* functionality.
*/
'webhook_secret' => env('IGDB_WEBHOOK_SECRET', null),
'webhook_secret' => env('IGDB_WEBHOOK_SECRET'),
];
2 changes: 1 addition & 1 deletion src/ApiHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static function retrieveAccessToken(): string

$accessToken = (string)$response['access_token'];
}
} catch (Exception $exception) {
} catch (Exception) {
throw new AuthenticationException('Access Token could not be retrieved from Twitch.');
}

Expand Down
Loading

0 comments on commit c23f6ca

Please sign in to comment.