Remove @return from __construct

Also fix a parameter type

Change-Id: Ia8c533c6926e20a56ebbf3cd4a567cd7e86784a8
This commit is contained in:
Umherirrender 2018-04-07 11:22:17 +02:00
parent e0d79c80b0
commit fdfa100e75
2 changed files with 1 additions and 2 deletions

View file

@ -7,7 +7,6 @@ class RSSData {
/**
* Constructor, takes a DOMDocument and returns an array of parsed items.
* @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 ) {
if ( !( $xml instanceof DOMDocument ) ) {

View file

@ -342,7 +342,7 @@ class RSSParser {
* template which the MediaWiki then displays.
*
* @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
*/
function renderFeed( $parser, $frame ) {