run phpcbf on BloombergBridge

This commit is contained in:
Matt DeMoss 2017-12-23 11:43:29 -05:00
parent b4d0098c8a
commit f7106c3137

View File

@ -1,5 +1,6 @@
<?php
class BloombergBridge extends BridgeAbstract {
class BloombergBridge extends BridgeAbstract
{
const NAME = 'Bloomberg';
const URI = 'https://www.bloomberg.com/';
const DESCRIPTION = 'Trending stories from Bloomberg';
@ -15,7 +16,8 @@ class BloombergBridge extends BridgeAbstract {
)
);
public function getName(){
public function getName()
{
switch($this->queriedContext) {
case 'Trending Stories':
return self::NAME . ' Trending Stories';
@ -29,7 +31,8 @@ class BloombergBridge extends BridgeAbstract {
return parent::getName();
}
public function collectData(){
public function collectData()
{
switch($this->queriedContext) {
case 'Trending Stories': // Get list of top new <article>s from the front page.
$html = getSimpleHTMLDOMCached($this->getURI(), 300);