From: Sam Reed Date: Sun, 8 Jan 2012 22:38:08 +0000 (+0000) Subject: Fixup documentation X-Git-Tag: 1.31.0-rc.0~25413 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=afd9dbe27239ae5881f48ba4bb98f9aa574078e3;p=lhc%2Fweb%2Fwiklou.git Fixup documentation Swap require for require_once Wrap long line --- diff --git a/includes/Action.php b/includes/Action.php index 655598eedc..d81d2fe374 100644 --- a/includes/Action.php +++ b/includes/Action.php @@ -146,7 +146,7 @@ abstract class Action { /** * Shortcut to get the user Language being used for this instance * - * @return Skin + * @return Language */ public final function getLanguage() { return $this->getContext()->getLanguage(); @@ -156,7 +156,7 @@ abstract class Action { * Shortcut to get the user Language being used for this instance * * @deprecated 1.19 Use getLanguage instead - * @return Skin + * @return Language */ public final function getLang() { wfDeprecated( __METHOD__, '1.19' ); @@ -294,8 +294,6 @@ abstract class Action { /** * Execute the action in a silent fashion: do not display anything or release any errors. - * @param $data Array values that would normally be in the POST request - * @param $captureErrors Bool whether to catch exceptions and just return false * @return Bool whether execution was successful */ public abstract function execute();