From 07888b12b2bef0f401308242e7ac95d8b918a455 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Tue, 16 Apr 2024 08:35:08 +0000 Subject: [PATCH] Improve PHP code * Remove lost comment. * Improve order of calls. Change-Id: I83a63dd08cd9b355afbfff4361ba2dfcc19c8a0c --- includes/PopupsContext.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/PopupsContext.php b/includes/PopupsContext.php index aea52e138..a3d446aaf 100644 --- a/includes/PopupsContext.php +++ b/includes/PopupsContext.php @@ -105,7 +105,6 @@ class PopupsContext { * @param PopupsGadgetsIntegration $gadgetsIntegration Gadgets integration helper * @param SpecialPageFactory $specialPageFactory * @param UserOptionsLookup $userOptionsLookup - * events */ public function __construct( Config $config, @@ -114,12 +113,11 @@ class PopupsContext { SpecialPageFactory $specialPageFactory, UserOptionsLookup $userOptionsLookup ) { + $this->config = $config; $this->extensionRegistry = $extensionRegistry; $this->gadgetsIntegration = $gadgetsIntegration; $this->specialPageFactory = $specialPageFactory; $this->userOptionsLookup = $userOptionsLookup; - - $this->config = $config; } /**