[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
|
@ -153,10 +153,8 @@ abstract class FeedExpander extends BridgeAbstract {
|
||||||
|
|
||||||
if(isset($feedItem->guid)){
|
if(isset($feedItem->guid)){
|
||||||
foreach($feedItem->guid->attributes() as $attribute => $value){
|
foreach($feedItem->guid->attributes() as $attribute => $value){
|
||||||
if($attribute === 'isPermaLink' && (
|
if($attribute === 'isPermaLink'
|
||||||
$value === 'true' ||
|
&& ($value === 'true' || filter_var($feedItem->guid,FILTER_VALIDATE_URL))){
|
||||||
filter_var($feedItem->guid,FILTER_VALIDATE_URL)
|
|
||||||
)){
|
|
||||||
$item['uri'] = $feedItem->guid;
|
$item['uri'] = $feedItem->guid;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue