mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 02:24:35 +02:00
refactor: return proper response object (#4169)
This commit is contained in:
parent
aa3989873c
commit
891c8979a3
28 changed files with 69 additions and 84 deletions
|
@ -12,8 +12,7 @@ class KilledbyGoogleBridge extends BridgeAbstract
|
|||
|
||||
public function collectData()
|
||||
{
|
||||
$json = getContents(self::URI . '/graveyard.json')
|
||||
or returnServerError('Could not request: ' . self::URI . '/graveyard.json');
|
||||
$json = getContents(self::URI . '/graveyard.json');
|
||||
|
||||
$this->handleJson($json);
|
||||
$this->orderItems();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue