Pass correct IContextSource to HTMLForm

The special page is only a MessageLocalizer, not a IContextSource.
Its implements all methods of IContextSource, but are delegated to the
underlayed IContextSource. So pass it directly make phan happy, while
the current code works as expected

Change-Id: Ia9d83f2f71a466a2ba74540f96f165c96fb7ca00
This commit is contained in:
Umherirrender 2018-08-11 00:20:41 +02:00 committed by Legoktm
parent 930eed4496
commit dbfcd23b3b

View file

@ -136,7 +136,7 @@ class SpecialDisplayNotificationsConfiguration extends UnlistedSpecialPage {
'disabled' => true,
]
],
$this
$this->getContext()
);
$form->setTitle( $this->getPageTitle() )