From fdb2279e5476ad341a8c8ec0a1c9cb42823a2d1e Mon Sep 17 00:00:00 2001 From: addshore Date: Fri, 30 Jun 2017 14:10:54 +0100 Subject: [PATCH] TidyDriverBase::validate throws an exception Change-Id: I05e31c757ed92323ff905d993ac4d030b8aba1da --- includes/tidy/TidyDriverBase.php | 1 + 1 file changed, 1 insertion(+) 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 ) { -- 2.20.1