mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-19 23:03:01 +02:00
refactor: return proper response object (#4169)
This commit is contained in:
@@ -20,8 +20,12 @@ class SummitsOnTheAirBridge extends BridgeAbstract
|
||||
|
||||
public function collectData()
|
||||
{
|
||||
$header = ['Content-type:application/json'];
|
||||
$opts = [CURLOPT_HTTPGET => 1];
|
||||
$header = [
|
||||
'Content-type:application/json',
|
||||
];
|
||||
$opts = [
|
||||
CURLOPT_HTTPGET => 1,
|
||||
];
|
||||
$json = getContents($this->getURI() . $this->getInput('c'), $header, $opts);
|
||||
|
||||
$spots = json_decode($json, true);
|
||||
|
Reference in New Issue
Block a user