From 351eb0040004284d80e8262c1712b52771260200 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Sat, 17 Sep 2016 20:43:05 +0200 Subject: [PATCH] [FeedExpander] Align logical operators in next line This is a cosmetic change to apply the same standard as in HTMLUtils --- lib/FeedExpander.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/FeedExpander.php b/lib/FeedExpander.php index 46caed15..01909a5a 100644 --- a/lib/FeedExpander.php +++ b/lib/FeedExpander.php @@ -152,11 +152,9 @@ abstract class FeedExpander extends BridgeAbstract { if(isset($namespaces['dc'])) $dc = $feedItem->children($namespaces['dc']); if(isset($feedItem->guid)){ - foreach($feedItem->guid->attributes() as $attribute=>$value){ - if($attribute === 'isPermaLink' && ( - $value === 'true' || - filter_var($feedItem->guid,FILTER_VALIDATE_URL) - )){ + foreach($feedItem->guid->attributes() as $attribute => $value){ + if($attribute === 'isPermaLink' + && ($value === 'true' || filter_var($feedItem->guid,FILTER_VALIDATE_URL))){ $item['uri'] = $feedItem->guid; break; }