Make signature of RaggettInternalHHVM::cleanWrapped() compatible with RaggetBase's
authorOri Livneh <ori@wikimedia.org>
Fri, 11 Sep 2015 04:06:01 +0000 (21:06 -0700)
committerOri Livneh <ori@wikimedia.org>
Fri, 11 Sep 2015 04:06:01 +0000 (21:06 -0700)
Change-Id: I18239e7c6ba77a00c59015b791b7ea7e55154307

includes/tidy/RaggettInternalHHVM.php

index 03860be..2a3986d 100644 (file)
@@ -12,7 +12,7 @@ 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" );
                }