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:
parent
2331c4fbab
commit
351eb00400
1 changed files with 3 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue