Fix undefined classes
[lhc/web/wiklou.git] / includes / tidy / RaggettInternalHHVM.php
index 03860be..bb83d6a 100644 (file)
@@ -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 ) {