From da32eb23569e76393c28b1a5747121a96ae3bc6e Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 11 Jan 2014 09:31:16 +0100 Subject: [PATCH] Correct return type doc for DatabaseBase::getLBInfo() This confused PHPStorm's code analyser. Change-Id: If99abfa6ca9e52a39b6d2621441686ab564781c7 --- includes/db/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/db/Database.php b/includes/db/Database.php index 45a214ed5f..6e87c40263 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -445,7 +445,7 @@ abstract class DatabaseBase implements IDatabase, DatabaseType { * @param string $name The entry of the info array to get, or null to get the * whole array * - * @return LoadBalancer|null + * @return array|mixed|null */ public function getLBInfo( $name = null ) { if ( is_null( $name ) ) { -- 2.20.1