1
0
Fork 0
forked from blallo/rss-bridge

[TwitterBridge] Fix coding style

This commit is contained in:
logmanoriginal 2017-08-03 17:56:39 +02:00
parent 485b465a24
commit c986ff9116

View file

@ -107,10 +107,10 @@ class TwitterBridge extends BridgeAbstract {
} }
// Skip protmoted tweets // Skip protmoted tweets
$heading=$tweet->previousSibling(); $heading = $tweet->previousSibling();
if(!is_null($heading) && if(!is_null($heading) &&
$heading->getAttribute('class')==='promoted-tweet-heading' $heading->getAttribute('class') === 'promoted-tweet-heading'
){ ) {
continue; continue;
} }