From: Siebrand Mazeland Date: Sat, 11 Jan 2014 08:31:16 +0000 (+0100) Subject: Correct return type doc for DatabaseBase::getLBInfo() X-Git-Tag: 1.31.0-rc.0~17285^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=da32eb23569e76393c28b1a5747121a96ae3bc6e;p=lhc%2Fweb%2Fwiklou.git Correct return type doc for DatabaseBase::getLBInfo() This confused PHPStorm's code analyser. Change-Id: If99abfa6ca9e52a39b6d2621441686ab564781c7 --- 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 ) ) {