diff options
author | daniel <dkinzler@wikimedia.org> | 2024-01-02 15:12:21 +0100 |
---|---|---|
committer | James D. Forrester <jforrester@wikimedia.org> | 2024-01-08 09:40:18 -0500 |
commit | cea8aee05e01ac8d44697e35e38699dd2e01381c (patch) | |
tree | 9b6623d0f5b03f6a8ed330a9a1bebc50ee16881c /maintenance/includes/TextPassDumper.php | |
parent | a58151885bc5318c83ca4baed9ff0e7b78e42136 (diff) | |
download | mediawikicore-cea8aee05e01ac8d44697e35e38699dd2e01381c.tar.gz mediawikicore-cea8aee05e01ac8d44697e35e38699dd2e01381c.zip |
Make Maintenance::finalSetup require a SettingsBuilder
Maintenance::finalSetup should have access to a SettingsBuilder so it
can manipulates config settings without resorting to global variables.
MaintenanceRunner will always provide a SettingsBuilder when calling
this method, so implementations should be able to rely on always getting
one.
The $settings parameter was introduced as optional in order to maintain
backwards compatibility with implementations that did not declare the
parameter. But these should all have been fixed since.
Depends-On: I8a3699b13bfb4dc15f3bed562731ed9d525651cc
Change-Id: I334a103e02fd905faafc43c7c5b95996bc91fd18
Diffstat (limited to 'maintenance/includes/TextPassDumper.php')
-rw-r--r-- | maintenance/includes/TextPassDumper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/includes/TextPassDumper.php b/maintenance/includes/TextPassDumper.php index ea684bbdc3e3..4a51968d33c0 100644 --- a/maintenance/includes/TextPassDumper.php +++ b/maintenance/includes/TextPassDumper.php @@ -168,7 +168,7 @@ TEXT } } - public function finalSetup( SettingsBuilder $settingsBuilder = null ) { + public function finalSetup( SettingsBuilder $settingsBuilder ) { parent::finalSetup( $settingsBuilder ); SevenZipStream::register(); |