diff --git a/bridges/TwitterBridge.php b/bridges/TwitterBridge.php index 4c32bc7..d588f6b 100644 --- a/bridges/TwitterBridge.php +++ b/bridges/TwitterBridge.php @@ -107,10 +107,10 @@ class TwitterBridge extends BridgeAbstract { } // Skip protmoted tweets - $heading=$tweet->previousSibling(); + $heading = $tweet->previousSibling(); if(!is_null($heading) && - $heading->getAttribute('class')==='promoted-tweet-heading' - ){ + $heading->getAttribute('class') === 'promoted-tweet-heading' + ) { continue; }