X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=includes%2FStubObject.php;h=92130761a62e1594edbbb58341314b3822ad63a6;hb=7d0a4d066750cc58098ca55edc29fe72803931dd;hp=baf5109952781e7d1617972f5be3fc0bbcf307ce;hpb=7babd362babcbf7f20adb8e12edb4f4bc1d4249f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/StubObject.php b/includes/StubObject.php index baf5109952..92130761a6 100644 --- a/includes/StubObject.php +++ b/includes/StubObject.php @@ -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. */