mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
[NordbayernBridge] Fix linting issue (#2531)
This commit is contained in:
parent
b5ab2ee676
commit
32a6348418
@ -83,7 +83,7 @@ class NordbayernBridge extends BridgeAbstract {
|
|||||||
|
|
||||||
$item['uri'] = $link;
|
$item['uri'] = $link;
|
||||||
$item['author'] = $article->find('[class=article__author extrabold]', 0)->plaintext;
|
$item['author'] = $article->find('[class=article__author extrabold]', 0)->plaintext;
|
||||||
$item['timestamp'] = strtotime(str_replace('Uhr','', $article->find('[class=article__release]',0)->plaintext));
|
$item['timestamp'] = strtotime(str_replace('Uhr', '', $article->find('[class=article__release]', 0)->plaintext));
|
||||||
if ($article->find('h2', 0) == null) {
|
if ($article->find('h2', 0) == null) {
|
||||||
$item['title'] = $article->find('h3', 0)->innertext;
|
$item['title'] = $article->find('h3', 0)->innertext;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user