Set visibility for class properties of DependencyWrapper
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 18 Nov 2013 04:14:24 +0000 (05:14 +0100)
committerSiebrand <siebrand@wikimedia.org>
Mon, 18 Nov 2013 04:52:49 +0000 (04:52 +0000)
Set to private. No subclassing and no uses outside of the class in core or
extensions.

Change-Id: If195d02b8ce853242312de7fb4bc7dc1cbe94365

includes/cache/CacheDependency.php

index 32bcdf7..57d9af8 100644 (file)
@@ -28,8 +28,8 @@
  * @ingroup Cache
  */
 class DependencyWrapper {
-       var $value;
-       var $deps;
+       private $value;
+       private $deps;
 
        /**
         * Create an instance.