X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ftidy%2FRaggettInternalHHVM.php;h=bb83d6a325b43ce16e481a4232be6f8e8fbe9938;hb=0535765366fc2bc72e84bacb0b14e5a2a790ee94;hp=03860bec4bd0df43991d93e4f81a94993d5b0384;hpb=7ef1e5fb30b6b00f2e53213e9010d2d88cdca852;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/tidy/RaggettInternalHHVM.php b/includes/tidy/RaggettInternalHHVM.php index 03860bec4b..bb83d6a325 100644 --- a/includes/tidy/RaggettInternalHHVM.php +++ b/includes/tidy/RaggettInternalHHVM.php @@ -12,9 +12,9 @@ class RaggettInternalHHVM extends RaggettBase { * @param int &$retval Exit code (-1 on internal error) * @return string|null */ - protected function cleanWrapped( $text, $stderr = false, &$retval ) { + protected function cleanWrapped( $text, $stderr = false, &$retval = null ) { if ( $stderr ) { - throw new Exception( "\$stderr cannot be used with RaggettInternalHHVM" ); + throw new \Exception( "\$stderr cannot be used with RaggettInternalHHVM" ); } $cleansource = tidy_repair_string( $text, $this->config['tidyConfigFile'], 'utf8' ); if ( $cleansource === false ) {