Declare visibility for class properties of LocalisationCacheBulkLoad
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sun, 17 Nov 2013 21:03:53 +0000 (22:03 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Sun, 17 Nov 2013 21:03:53 +0000 (22:03 +0100)
Mark all as private. Not referenced elsewhere in core or extensions.

Change-Id: Ibe0e854f39261053e5147138309c3a4b1944e5fe

includes/cache/LocalisationCache.php

index f52cf4e..2d017b3 100644 (file)
@@ -1278,19 +1278,19 @@ class LocalisationCacheBulkLoad extends LocalisationCache {
         * A cache of the contents of data files.
         * Core files are serialized to avoid using ~1GB of RAM during a recache.
         */
-       var $fileCache = array();
+       private $fileCache = array();
 
        /**
         * Most recently used languages. Uses the linked-list aspect of PHP hashtables
         * to keep the most recently used language codes at the end of the array, and
         * the language codes that are ready to be deleted at the beginning.
         */
-       var $mruLangs = array();
+       private $mruLangs = array();
 
        /**
         * Maximum number of languages that may be loaded into $this->data
         */
-       var $maxLoadedLangs = 10;
+       private $maxLoadedLangs = 10;
 
        /**
         * @param $fileName