diff --git a/bridges/DagensNyheterDirektBridge.php b/bridges/DagensNyheterDirektBridge.php index ebba818d4d3..4d1629fbbd5 100644 --- a/bridges/DagensNyheterDirektBridge.php +++ b/bridges/DagensNyheterDirektBridge.php @@ -9,7 +9,8 @@ class DagensNyheterDirektBridge extends BridgeAbstract const MAINTAINER = 'ajain-93'; const LIMIT = 20; - public function getIcon(){ + public function getIcon() + { return 'https://cdn.dn-static.se/images/favicon__c2dd3284b46ffdf4d520536e526065fa8.svg'; } @@ -20,8 +21,7 @@ public function collectData() $html = getSimpleHTMLDOM($NEWSURL) or returnServerError('Could not request: ' . $NEWSURL); - foreach ($html->find('article') as $element) - { + foreach ($html->find('article') as $element) { $link = $element->find('button', 0)->getAttribute('data-link'); $datetime = $element->getAttribute('data-publication-time'); $url = self::BASEURL . $link;