mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-30 22:59:46 +02:00
Normalize some method calls (#2911)
The methods were called as static even though they were not.
This commit is contained in:
parent
a966213cd7
commit
e07a94d480
10 changed files with 12 additions and 12 deletions
|
@ -18,7 +18,7 @@ class SIMARBridge extends BridgeAbstract
|
|||
|
||||
public function collectData()
|
||||
{
|
||||
$html = getSimpleHTMLDOM(self::getURI());
|
||||
$html = getSimpleHTMLDOM($this->getURI());
|
||||
$e_home = $html->find('#home', 0)
|
||||
or returnServerError('Invalid site structure');
|
||||
|
||||
|
@ -40,7 +40,7 @@ class SIMARBridge extends BridgeAbstract
|
|||
$item = [];
|
||||
|
||||
$item['title'] = 'Intervenção: ' . $element->plaintext;
|
||||
$item['uri'] = self::getURI() . $element->href;
|
||||
$item['uri'] = $this->getURI() . $element->href;
|
||||
$item['content'] = $element->innertext;
|
||||
|
||||
/* Try to get the actual contents for this kind of item */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue