TidyDriverBase::validate throws an exception
authoraddshore <addshorewiki@gmail.com>
Fri, 30 Jun 2017 13:10:54 +0000 (14:10 +0100)
committeraddshore <addshorewiki@gmail.com>
Fri, 30 Jun 2017 13:10:54 +0000 (14:10 +0100)
Change-Id: I05e31c757ed92323ff905d993ac4d030b8aba1da

includes/tidy/TidyDriverBase.php

index d3f9d48..6e01894 100644 (file)
@@ -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 ) {