summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2022-11-09 15:57:54 -0500
committerBrian Evans <grknight@gentoo.org>2022-11-09 15:57:54 -0500
commit4e6da45f7816ec07656c88f413ce9944e7fcc5eb (patch)
tree9f14a3341c51f0a8374ebed0e588df02b044c0ee
parentEcho: Fix SQL indexes if they don't exist (diff)
downloadextensions-4e6da45f7816ec07656c88f413ce9944e7fcc5eb.tar.gz
extensions-4e6da45f7816ec07656c88f413ce9944e7fcc5eb.tar.bz2
extensions-4e6da45f7816ec07656c88f413ce9944e7fcc5eb.zip
GentooPackages: Fix deprecation warning
Signed-off-by: Brian Evans <grknight@gentoo.org>
-rw-r--r--GentooPackages/GentooPackages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/GentooPackages/GentooPackages.php b/GentooPackages/GentooPackages.php
index abf2c9b0..1b451a9a 100644
--- a/GentooPackages/GentooPackages.php
+++ b/GentooPackages/GentooPackages.php
@@ -4,7 +4,7 @@ use MediaWiki\MediaWikiServices;
class GentooPackages { // implements MediaWiki\Hook\ParserFirstCallInitHook {
public static function packageInfo($input, array $args, Parser $parser, PPFrame $frame) {
- $parser->getOutput()->addModules('ext.gentooPackages');
+ $parser->getOutput()->addModules([ 'ext.gentooPackages' ]);
$atom = $args['atom'];
$type = $args['type'];