Merge "Explicit return in ChannelFeed::formatTime() implementations"
This commit is contained in:
commit
63a306c9f6
2 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue