dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "HTMLForm: Implement OOUI version of HTMLTagFilter"
[lhc/web/wiklou.git]
/
includes
/
tidy
/
TidyDriverBase.php
diff --git
a/includes/tidy/TidyDriverBase.php
b/includes/tidy/TidyDriverBase.php
index
96ee8c3
..
6e01894
100644
(file)
--- a/
includes/tidy/TidyDriverBase.php
+++ b/
includes/tidy/TidyDriverBase.php
@@
-24,10
+24,11
@@
abstract class TidyDriverBase {
*
* @param string $text
* @param string &$errorStr Return the error string
*
* @param string $text
* @param string &$errorStr Return the error string
+ * @throws \MWException
* @return bool Whether the HTML is valid
*/
public function validate( $text, &$errorStr ) {
* @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(
static::class . ' does not support validate()'
);
}
/**
}
/**