mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
Merge "Improve PHP code"
This commit is contained in:
commit
d8e4500700
|
@ -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