From d5799083b8d90d835051288d18b0c69706b93c8b Mon Sep 17 00:00:00 2001 From: jeroendedauw Date: Thu, 6 Dec 2012 23:36:42 +0100 Subject: [PATCH] use null rather then false and doc fix Change-Id: Ifb8798a66d32da36fc8134e2039ec880c0f1dc1a --- includes/site/Sites.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/site/Sites.php b/includes/site/Sites.php index edd3d64cc0..135308c8e7 100644 --- a/includes/site/Sites.php +++ b/includes/site/Sites.php @@ -32,9 +32,9 @@ class Sites { /** * @since 1.21 - * @var SiteList|false + * @var SiteList|null */ - protected $sites = false; + protected $sites = null; /** * Constructor. @@ -65,7 +65,7 @@ class Sites { * * @since 1.21 * - * @param string|false $globalId + * @param string|boolean false $globalId * * @return Site */ @@ -95,7 +95,7 @@ class Sites { */ public function getSites( $source = 'cache' ) { if ( $source === 'cache' ) { - if ( $this->sites === false ) { + if ( $this->sites === null ) { $cache = wfGetMainCache(); $sites = $cache->get( wfMemcKey( 'SiteList' ) ); -- 2.20.1