1
0
Fork 0
forked from blallo/rss-bridge

[FeedExpander] Align logical operators in next line

This is a cosmetic change to apply the same standard as
in HTMLUtils
This commit is contained in:
logmanoriginal 2016-09-17 20:43:05 +02:00
parent 2331c4fbab
commit 351eb00400

View file

@ -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;
}