mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-10-17 17:46:07 +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:
@@ -75,7 +75,7 @@ apple-icon-5c6fa9f2bce280428589c6195b7f1924206a53b782b371cfe2d02da932c8c173.png'
|
||||
$html = defaultLinkTo($html, static::URI);
|
||||
|
||||
$articles = $html->find('div.crayons-story')
|
||||
or returnServerError('Could not find articles!');
|
||||
or throwServerException('Could not find articles!');
|
||||
|
||||
foreach ($articles as $article) {
|
||||
$item = [];
|
||||
|
Reference in New Issue
Block a user