mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-24 00:53:10 +02:00
Normalize some method calls (#2911)
The methods were called as static even though they were not.
This commit is contained in:
@@ -83,7 +83,7 @@ class NovayaGazetaEuropeBridge extends BridgeAbstract
|
||||
}
|
||||
}
|
||||
|
||||
private function convertBody($data)
|
||||
private static function convertBody($data)
|
||||
{
|
||||
$body = '';
|
||||
if ($data->previewUrl !== null && !$data->isPreviewHidden) {
|
||||
@@ -104,7 +104,7 @@ class NovayaGazetaEuropeBridge extends BridgeAbstract
|
||||
return $body;
|
||||
}
|
||||
|
||||
private function convertElement($datum)
|
||||
private static function convertElement($datum)
|
||||
{
|
||||
switch ($datum->type) {
|
||||
case 'text':
|
||||
|
Reference in New Issue
Block a user