From: addshore Date: Fri, 30 Jun 2017 13:10:54 +0000 (+0100) Subject: TidyDriverBase::validate throws an exception X-Git-Tag: 1.31.0-rc.0~2822^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%22id_auteur=%24connect_id_auteur%22%29%20.%20%22?a=commitdiff_plain;h=fdb2279e5476ad341a8c8ec0a1c9cb42823a2d1e;p=lhc%2Fweb%2Fwiklou.git TidyDriverBase::validate throws an exception Change-Id: I05e31c757ed92323ff905d993ac4d030b8aba1da --- diff --git a/includes/tidy/TidyDriverBase.php b/includes/tidy/TidyDriverBase.php index d3f9d48591..6e01894008 100644 --- a/includes/tidy/TidyDriverBase.php +++ b/includes/tidy/TidyDriverBase.php @@ -24,6 +24,7 @@ abstract class TidyDriverBase { * * @param string $text * @param string &$errorStr Return the error string + * @throws \MWException * @return bool Whether the HTML is valid */ public function validate( $text, &$errorStr ) {