Merge "RELEASE-NOTES-1.32: Re-wrap to 80 chars again"
[lhc/web/wiklou.git] / includes / StubObject.php
index baf5109..9213076 100644 (file)
@@ -19,6 +19,7 @@
  *
  * @file
  */
+use Wikimedia\ObjectFactory;
 
 /**
  * Class to implement stub globals, which are globals that delay loading the
@@ -55,8 +56,8 @@ class StubObject {
        protected $params;
 
        /**
-        * @param string $global Name of the global variable.
-        * @param string|callable $class Name of the class of the real object
+        * @param string|null $global Name of the global variable.
+        * @param string|callable|null $class Name of the class of the real object
         *                               or a factory function to call
         * @param array $params Parameters to pass to constructor of the real object.
         */