Merge "Avoid arithmetics on localized number string ("0,04") in SpecialWatchlist"
[lhc/web/wiklou.git] / includes / tidy / RaggettInternalHHVM.php
index 2a3986d..65d37f4 100644 (file)
@@ -9,12 +9,12 @@ class RaggettInternalHHVM extends RaggettBase {
         *
         * @param string $text HTML to check
         * @param bool $stderr Whether to read result from error status instead of output
-        * @param int &$retval Exit code (-1 on internal error)
+        * @param int|null &$retval Exit code (-1 on internal error)
         * @return string|null
         */
        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 ) {