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

@ -153,10 +153,8 @@ abstract class FeedExpander extends BridgeAbstract {
if(isset($feedItem->guid)){
foreach($feedItem->guid->attributes() as $attribute => $value){
if($attribute === 'isPermaLink' && (
$value === 'true' ||
filter_var($feedItem->guid,FILTER_VALIDATE_URL)
)){
if($attribute === 'isPermaLink'
&& ($value === 'true' || filter_var($feedItem->guid,FILTER_VALIDATE_URL))){
$item['uri'] = $feedItem->guid;
break;
}