Skip to content

Commit 009e4bb

Browse files
committed
fix(config): lint issues
1 parent 20456fe commit 009e4bb

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

config/Farm/StandaloneUserManagement.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@
1010
class StandaloneUserManagement implements IFarmUserManagement {
1111

1212
/** @inheritDoc */
13-
function setup( MWCFarm $farm, MediaWikiConfig $mwc ): void {
14-
// Don't do anything, this is already the default behaviour of MW
13+
public function setup( MWCFarm $farm, MediaWikiConfig $mwc ): void {
14+
// Don't do anything, this is already the default behavior of MW
15+
}
16+
17+
/** @inheritDoc */
18+
public function overrideWikiExists( MWCFarm $farm, MediaWikiConfig $mwc, string $subdomain ): ?string {
19+
return null;
1520
}
1621

1722
}

config/MWCExtensions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ public function QuickInstantCommons( ?string $apiUrl = null, ?string $name = nul
667667
'descriptionCacheExpiry' => 43200,
668668
'transformVia404' => false,
669669
'abbrvThreshold' => 160,
670-
'apiMetadataExpiry' => 60*60*24,
670+
'apiMetadataExpiry' => 60 * 60 * 24,
671671
'disabledMediaHandlers' => [],
672672
] );
673673
}

0 commit comments

Comments
 (0)