X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FStubObject.php;h=cc0adb743d52484114771b214599114fa0c96f4e;hb=e2e6b161239ece68d1f95a0d548c0498b324b8ba;hp=647ad929acc3b642ebeb8ddf1ffa4f19c70926f1;hpb=0b105ebf1d77911104c2620692d14102eae825fc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/StubObject.php b/includes/StubObject.php index 647ad929ac..cc0adb743d 100644 --- a/includes/StubObject.php +++ b/includes/StubObject.php @@ -1,4 +1,24 @@ _unstub( $name, 5 ); @@ -72,6 +93,7 @@ class StubObject { * * @param $name String: name of the function called * @param $args Array: arguments + * @return mixed */ function __call( $name, $args ) { return $this->_call( $name, $args ); @@ -86,6 +108,7 @@ class StubObject { * @param $name String: name of the method called in this object. * @param $level Integer: level to go in the stact trace to get the function * who called this function. + * @throws MWException */ function _unstub( $name = '_unstub', $level = 2 ) { static $recursionLevel = 0;