I intentionally made the constructor parameter optional in the
new RCFeed class from
39a6e3dc4d84, however it was not optional
in the subclass, which the older classes are now based on top
of.
Bug: T156996
Change-Id: I05b9e15920bc39f27c402b023d1463cfbdd2efb8
* - 'formatter'
* @see $wgRCFeeds
*/
* - 'formatter'
* @see $wgRCFeeds
*/
- public function __construct( array $params ) {
+ public function __construct( array $params = [] ) {
$this->params = $params;
}
$this->params = $params;
}