Fix some LBFactory return type docs
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 7 Oct 2016 17:59:59 +0000 (10:59 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 7 Oct 2016 17:59:59 +0000 (10:59 -0700)
Change-Id: Ie283c5bf6ca8c67be9c116b0a7065b0844cb76da

includes/libs/rdbms/lbfactory/LBFactory.php

index f5d57c4..929bd4d 100644 (file)
@@ -145,7 +145,7 @@ abstract class LBFactory implements ILBFactory {
        /**
         * @see ILBFactory::getMainLB()
         * @param bool $domain
-        * @return mixed
+        * @return LoadBalancer
         */
        abstract public function getMainLB( $domain = false );
 
@@ -161,7 +161,7 @@ abstract class LBFactory implements ILBFactory {
         * @see ILBFactory::getExternalLB()
         * @param string $cluster
         * @param bool $domain
-        * @return mixed
+        * @return LoadBalancer
         */
        abstract public function getExternalLB( $cluster, $domain = false );