1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-07 00:56:34 +02:00

phpcs: Fix violations

This commit is contained in:
logmanoriginal
2018-11-05 12:55:58 +01:00
parent e295dc5a79
commit 392e3ff6c7
30 changed files with 76 additions and 76 deletions

View File

@@ -52,9 +52,9 @@ class CNETBridge extends BridgeAbstract {
returnClientError('Invalid topic: ' . $topic);
// Retrieve webpage
$pageUrl = self::URI . (empty($topic) ? 'news/' : $topic.'/');
$pageUrl = self::URI . (empty($topic) ? 'news/' : $topic . '/');
$html = getSimpleHTMLDOM($pageUrl)
or returnServerError('Could not request CNET: '.$pageUrl);
or returnServerError('Could not request CNET: ' . $pageUrl);
// Process articles
foreach($html->find('div.assetBody, div.riverPost') as $element) {