mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
Improve PHP code
* Remove lost comment. * Improve order of calls. Change-Id: I83a63dd08cd9b355afbfff4361ba2dfcc19c8a0c
This commit is contained in:
parent
b99750e503
commit
07888b12b2
|
@ -105,7 +105,6 @@ class PopupsContext {
|
||||||
* @param PopupsGadgetsIntegration $gadgetsIntegration Gadgets integration helper
|
* @param PopupsGadgetsIntegration $gadgetsIntegration Gadgets integration helper
|
||||||
* @param SpecialPageFactory $specialPageFactory
|
* @param SpecialPageFactory $specialPageFactory
|
||||||
* @param UserOptionsLookup $userOptionsLookup
|
* @param UserOptionsLookup $userOptionsLookup
|
||||||
* events
|
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
Config $config,
|
Config $config,
|
||||||
|
@ -114,12 +113,11 @@ class PopupsContext {
|
||||||
SpecialPageFactory $specialPageFactory,
|
SpecialPageFactory $specialPageFactory,
|
||||||
UserOptionsLookup $userOptionsLookup
|
UserOptionsLookup $userOptionsLookup
|
||||||
) {
|
) {
|
||||||
|
$this->config = $config;
|
||||||
$this->extensionRegistry = $extensionRegistry;
|
$this->extensionRegistry = $extensionRegistry;
|
||||||
$this->gadgetsIntegration = $gadgetsIntegration;
|
$this->gadgetsIntegration = $gadgetsIntegration;
|
||||||
$this->specialPageFactory = $specialPageFactory;
|
$this->specialPageFactory = $specialPageFactory;
|
||||||
$this->userOptionsLookup = $userOptionsLookup;
|
$this->userOptionsLookup = $userOptionsLookup;
|
||||||
|
|
||||||
$this->config = $config;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue