Merge "PHP 7 compatibility: Fix variable interpolation in ImageGalleryBase.php"
[lhc/web/wiklou.git] / includes / cache / MessageCache.php
index 47960ca..24df574 100644 (file)
@@ -98,7 +98,7 @@ class MessageCache {
         * @return MessageCache
         */
        public static function singleton() {
-               if ( is_null( self::$instance ) ) {
+               if ( self::$instance === null ) {
                        global $wgUseDatabaseMessages, $wgMsgCacheExpiry;
                        self::$instance = new self(
                                wfGetMessageCacheStorage(),