From: Siebrand Mazeland Date: Thu, 26 Dec 2013 22:57:07 +0000 (+0100) Subject: Declare visibility for class properties of LBFactory and LBFactorySimple X-Git-Tag: 1.31.0-rc.0~17426^2 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=4d1e58dce89c6bb2691f78e005cffe0a69fc8f1a;p=lhc%2Fweb%2Fwiklou.git Declare visibility for class properties of LBFactory and LBFactorySimple Change-Id: Ia4ffc4e99006384a097ea03f6ee982376a06cde8 --- diff --git a/includes/db/LBFactory.php b/includes/db/LBFactory.php index c4e7976e04..1289bdccbe 100644 --- a/includes/db/LBFactory.php +++ b/includes/db/LBFactory.php @@ -26,10 +26,8 @@ * @ingroup Database */ abstract class LBFactory { - /** - * @var LBFactory - */ - static $instance; + /** @var LBFactory */ + protected static $instance; /** * Disables all access to the load balancer, will cause all database access @@ -198,15 +196,14 @@ abstract class LBFactory { * A simple single-master LBFactory that gets its configuration from the b/c globals */ class LBFactorySimple extends LBFactory { + /** @var LoadBalancer */ + protected $mainLB; - /** - * @var LoadBalancer - */ - var $mainLB; - var $extLBs = array(); + /** @var LoadBalancer[] */ + protected $extLBs = array(); - # Chronology protector - var $chronProt; + /** @var ChronologyProtector */ + protected $chronProt; function __construct( $conf ) { $this->chronProt = new ChronologyProtector;