Correct return type doc for DatabaseBase::getLBInfo()
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 11 Jan 2014 08:31:16 +0000 (09:31 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 11 Jan 2014 11:31:28 +0000 (12:31 +0100)
This confused PHPStorm's code analyser.

Change-Id: If99abfa6ca9e52a39b6d2621441686ab564781c7

includes/db/Database.php

index 45a214e..6e87c40 100644 (file)
@@ -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 ) ) {