Sometimes the code expects a specific subclass as it calls a specific
method that only exists in this subclass. If this is not the case, all
the code needs to know is that it got some special page.
Some of these constructors should be changed to expect a IContextSource
instead of a special page. But this is for another patch. Here in this
patch I intentionally touch documentation only.
Change-Id: I33bae9641a8871f359edccacf88f09cfe8e83139
*/
class NewPagesPager extends ReverseChronologicalPager {
*/
class NewPagesPager extends ReverseChronologicalPager {
+ /**
+ * @var FormOptions
+ */
+ /**
+ * @param SpecialNewpages $form
+ * @param FormOptions $opts
+ */
public function __construct( $form, FormOptions $opts ) {
parent::__construct( $form->getContext() );
$this->mForm = $form;
public function __construct( $form, FormOptions $opts ) {
parent::__construct( $form->getContext() );
$this->mForm = $form;
private $linkRenderer;
/**
private $linkRenderer;
/**
- * @param SpecialProtectedpages $form
+ * @param SpecialPage $form
* @param array $conds
* @param string $type
* @param string $level
* @param array $conds
* @param string $type
* @param string $level