aboutsummaryrefslogtreecommitdiffstats
path: root/includes/db
diff options
context:
space:
mode:
authorthiemowmde <thiemo.kreuz@wikimedia.de>2025-01-16 14:24:44 +0100
committerthiemowmde <thiemo.kreuz@wikimedia.de>2025-01-16 14:24:44 +0100
commit659df897ea828bba243ca9879875870c35e7bb03 (patch)
treee7ed15e123fc3c70933b356b8ae55d9998a6fb57 /includes/db
parenta9d4d54f74d224cb068510c7715dbfa1ad46123d (diff)
downloadmediawikicore-659df897ea828bba243ca9879875870c35e7bb03.tar.gz
mediawikicore-659df897ea828bba243ca9879875870c35e7bb03.zip
Remove trivial 1-line PHPDocs that just repeat the code
I assume these are all either auto-generated by an IDE or the language-level type declarations have been added later. In any case the comments don't add any new information to what the code already says. This is just extra clutter that makes the code harder to read, I would argue. There are many, many more comments like this. In this patch I intentionally focus on the most trivial 1-line comments. Change-Id: Ia294bf4ce0d8a77036842fe25884bc175c2b0e7d
Diffstat (limited to 'includes/db')
-rw-r--r--includes/db/MWLBFactory.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/includes/db/MWLBFactory.php b/includes/db/MWLBFactory.php
index 357b585e7a49..322265c35870 100644
--- a/includes/db/MWLBFactory.php
+++ b/includes/db/MWLBFactory.php
@@ -222,9 +222,6 @@ class MWLBFactory {
return $lbConf;
}
- /**
- * @return array
- */
private function getDbTypesWithSchemas(): array {
return [ 'postgres' ];
}
@@ -380,9 +377,6 @@ class MWLBFactory {
return $compat[$class] ?? $class;
}
- /**
- * @param ILBFactory $lbFactory
- */
public function setDomainAliases( ILBFactory $lbFactory ): void {
$domain = DatabaseDomain::newFromId( $lbFactory->getLocalDomainID() );
// For compatibility with hyphenated $wgDBname values on older wikis, handle callers