Fix RainbowSixSiegeBridge coding style

This commit is contained in:
Corentin Garcia 2017-07-13 17:47:16 +02:00
parent 0a361a4c68
commit fa85267f69

View File

@ -8,7 +8,9 @@ class RainbowSixSiegeBridge extends BridgeAbstract {
const DESCRIPTION = 'Latest articles from the Rainbow Six Siege blog'; const DESCRIPTION = 'Latest articles from the Rainbow Six Siege blog';
public function collectData(){ public function collectData(){
$jsonString = getContents("https://prod-tridionservice.ubisoft.com/live/v1/News/Latest?templateId=tcm%3A152-76778-32&pageIndex=0&pageSize=10&language=en-US&detailPageId=tcm%3A152-194572-64&keywordList=175426&siteId=undefined&useSeoFriendlyUrl=true") $jsonString = getContents("https://prod-tridionservice.ubisoft.com/live/v1/News/Latest?templateId=tcm%3A152-7677" .
"8-32&pageIndex=0&pageSize=10&language=en-US&detailPageId=tcm%3A152-194572-64" .
"&keywordList=175426&siteId=undefined&useSeoFriendlyUrl=true")
or returnServerError('Error while downloading the website content'); or returnServerError('Error while downloading the website content');
$json = json_decode($jsonString, true); $json = json_decode($jsonString, true);