X-Git-Url: http://git.cyclocoop.org/%28?a=blobdiff_plain;f=includes%2FStubObject.php;h=baf5109952781e7d1617972f5be3fc0bbcf307ce;hb=a8ec960e9d910acbcd0d50efad3bd73e3ae812aa;hp=0210ed9d6a813b1707c218a21d324952f9ff3d84;hpb=1e3c2e5904d628c001a8d65909b135ea9bf042aa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/StubObject.php b/includes/StubObject.php index 0210ed9d6a..baf5109952 100644 --- a/includes/StubObject.php +++ b/includes/StubObject.php @@ -55,8 +55,6 @@ class StubObject { protected $params; /** - * Constructor. - * * @param string $global Name of the global variable. * @param string|callable $class Name of the class of the real object * or a factory function to call @@ -88,7 +86,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 ) {