From: Ori Livneh Date: Fri, 11 Sep 2015 04:06:01 +0000 (-0700) Subject: Make signature of RaggettInternalHHVM::cleanWrapped() compatible with RaggetBase's X-Git-Tag: 1.31.0-rc.0~10048 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=c3aa0d2c1e5cf31564d8356922a778db5769e9b7;p=lhc%2Fweb%2Fwiklou.git Make signature of RaggettInternalHHVM::cleanWrapped() compatible with RaggetBase's Change-Id: I18239e7c6ba77a00c59015b791b7ea7e55154307 --- 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" ); }