Change-Id: Ifb8798a66d32da36fc8134e2039ec880c0f1dc1a
/**
* @since 1.21
- * @var SiteList|false
+ * @var SiteList|null
*/
- protected $sites = false;
+ protected $sites = null;
/**
* Constructor.
*
* @since 1.21
*
- * @param string|false $globalId
+ * @param string|boolean false $globalId
*
* @return Site
*/
*/
public function getSites( $source = 'cache' ) {
if ( $source === 'cache' ) {
- if ( $this->sites === false ) {
+ if ( $this->sites === null ) {
$cache = wfGetMainCache();
$sites = $cache->get( wfMemcKey( 'SiteList' ) );