X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Ftidy%2FTidyDriverBase.php;h=96ee8c394f6c9e5f4222514be5b1327096c9980f;hb=e758226c91935a1df2b6fd3ed1f18922d8bfb45b;hp=61fd3e4f79b2c43d56583cf88f42f6b67333386a;hpb=8d1c5a70f753fe6b7d2533a30b07fe03e6583a1d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/tidy/TidyDriverBase.php b/includes/tidy/TidyDriverBase.php index 61fd3e4f79..96ee8c394f 100644 --- a/includes/tidy/TidyDriverBase.php +++ b/includes/tidy/TidyDriverBase.php @@ -27,14 +27,14 @@ abstract class TidyDriverBase { * @return bool Whether the HTML is valid */ public function validate( $text, &$errorStr ) { - throw new MWException( get_class( $this ) . " does not support validate()" ); + throw new \MWException( get_class( $this ) . " does not support validate()" ); } /** * Clean up HTML * - * @param string HTML document fragment to clean up - * @param string The corrected HTML output + * @param string $text HTML document fragment to clean up + * @return string The corrected HTML output */ abstract public function tidy( $text ); }