mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-10-18 01:56:10 +02:00
refactor: rename functions (#4655)
returnClientError => throwClientException returnServerError => throwServerException New convenience function: throwRateLimitException Old functions are kept but deprecated.
This commit is contained in:
@@ -166,7 +166,7 @@ class MoinMoinBridge extends BridgeAbstract
|
||||
private function splitSections($html)
|
||||
{
|
||||
$content = $html->find('div#page', 0)->innertext
|
||||
or returnServerError('Unable to find <div id="page"/>!');
|
||||
or throwServerException('Unable to find <div id="page"/>!');
|
||||
|
||||
$sections = [];
|
||||
|
||||
|
Reference in New Issue
Block a user