From c3aa0d2c1e5cf31564d8356922a778db5769e9b7 Mon Sep 17 00:00:00 2001 From: Ori Livneh Date: Thu, 10 Sep 2015 21:06:01 -0700 Subject: [PATCH] Make signature of RaggettInternalHHVM::cleanWrapped() compatible with RaggetBase's Change-Id: I18239e7c6ba77a00c59015b791b7ea7e55154307 --- includes/tidy/RaggettInternalHHVM.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/tidy/RaggettInternalHHVM.php b/includes/tidy/RaggettInternalHHVM.php index 03860bec4b..2a3986dfdb 100644 --- a/includes/tidy/RaggettInternalHHVM.php +++ b/includes/tidy/RaggettInternalHHVM.php @@ -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" ); } -- 2.20.1