mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RSS
synced 2024-11-13 17:57:07 +00:00
Remove @return from __construct
Also fix a parameter type Change-Id: Ia8c533c6926e20a56ebbf3cd4a567cd7e86784a8
This commit is contained in:
parent
e0d79c80b0
commit
fdfa100e75
|
@ -7,7 +7,6 @@ class RSSData {
|
||||||
/**
|
/**
|
||||||
* Constructor, takes a DOMDocument and returns an array of parsed items.
|
* Constructor, takes a DOMDocument and returns an array of parsed items.
|
||||||
* @param DOMDocument $xml the pre-parsed XML Document
|
* @param DOMDocument $xml the pre-parsed XML Document
|
||||||
* @return RSSData object with a member items that is an array of parsed items,
|
|
||||||
*/
|
*/
|
||||||
function __construct( $xml ) {
|
function __construct( $xml ) {
|
||||||
if ( !( $xml instanceof DOMDocument ) ) {
|
if ( !( $xml instanceof DOMDocument ) ) {
|
||||||
|
|
|
@ -342,7 +342,7 @@ class RSSParser {
|
||||||
* template which the MediaWiki then displays.
|
* template which the MediaWiki then displays.
|
||||||
*
|
*
|
||||||
* @param Parser $parser
|
* @param Parser $parser
|
||||||
* @param string $frame The frame param to pass to recursiveTagParse()
|
* @param PPFrame $frame The frame param to pass to recursiveTagParse()
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function renderFeed( $parser, $frame ) {
|
function renderFeed( $parser, $frame ) {
|
||||||
|
|
Loading…
Reference in a new issue