Merge "Improve PHP code"

This commit is contained in:
jenkins-bot 2024-04-16 16:23:40 +00:00 committed by Gerrit Code Review
commit d8e4500700

View file

@ -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;
} }
/** /**