Merge "Explicit return in ChannelFeed::formatTime() implementations"

This commit is contained in:
jenkins-bot 2020-05-08 22:00:41 +00:00 committed by Gerrit Code Review
commit 63a306c9f6
2 changed files with 2 additions and 0 deletions

View file

@ -38,6 +38,7 @@ class AtomFeed extends ChannelFeed {
// need to use RFC 822 time format at least for rss2.0
return gmdate( 'Y-m-d\TH:i:s', wfTimestamp( TS_UNIX, $timestamp ) );
}
return null;
}
/**

View file

@ -38,6 +38,7 @@ class RSSFeed extends ChannelFeed {
if ( $ts ) {
return gmdate( 'D, d M Y H:i:s \G\M\T', wfTimestamp( TS_UNIX, $ts ) );
}
return null;
}
/**