[NordbayernBridge] Fix linting issue (#2531)

This commit is contained in:
Yaman Qalieh 2022-03-24 20:26:57 -04:00 committed by GitHub
parent b5ab2ee676
commit 32a6348418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {