mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-09-01 12:12:42 +02:00
[PatreonBridge] resolve null coalescing issue (#3664)
* extend post presentation * applied phpcbf note: phpcs does not like long null coalescing chains * resolved phpcs * resolved github comment https://github.com/RSS-Bridge/rss-bridge/pull/3617/#issuecomment-1699568400 * . * lint SteamAppNewsBridge
This commit is contained in:
@@ -41,8 +41,7 @@ class SteamAppNewsBridge extends BridgeAbstract
|
||||
$apiTarget = 'https://api.steampowered.com/ISteamNews/GetNewsForApp/v2/';
|
||||
// Example with params: https://api.steampowered.com/ISteamNews/GetNewsForApp/v2/?appid=730&maxlength=0&count=20
|
||||
// More info at dev docs https://partner.steamgames.com/doc/webapi/ISteamNews
|
||||
$url =
|
||||
$apiTarget
|
||||
$url = $apiTarget
|
||||
. '?appid=' . $this->getInput('appid')
|
||||
. '&maxlength=' . $this->getInput('maxlength')
|
||||
. '&count=' . $this->getInput('count')
|
||||
|
Reference in New Issue
Block a user