1
0
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:
mruac
2023-09-11 20:45:14 +09:30
committed by GitHub
parent a9cf1512e7
commit 3e1e96e477
2 changed files with 10 additions and 8 deletions

View File

@@ -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')