X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FStubObject.php;h=067f11f63ee6169560425e07fc952d8f07b80f10;hp=5208b8f1fafee04e5240d57f77040dcdc239e48e;hb=f4ec592330517bc80e2ee351d0385e752f16e3fb;hpb=2c12b1fd2afc14a03c16f05c844320985d911ca0 diff --git a/includes/StubObject.php b/includes/StubObject.php index 5208b8f1fa..067f11f63e 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 @@ -86,7 +87,7 @@ class StubObject { * infinite loop when unstubbing an object or to avoid reference parameter * breakage. * - * @param object $obj Object to check. + * @param object &$obj Object to check. * @return void */ public static function unstub( &$obj ) {