diff --git a/Unit_testing/Reporter.php b/Unit_testing/Reporter.php index 9d3b5f1..c6e9f3d 100644 --- a/Unit_testing/Reporter.php +++ b/Unit_testing/Reporter.php @@ -41,7 +41,7 @@ * $reportText is a printf-style string (although we actually use vprintf because of the array) * $printfArguments is an array of arguments to $reportText */ - public function report( $statusText, $reportText, $printfArguments ) + public function report( $statusText, $reportText, $printfArguments = null ) { if ( $this->verbosity ) vprintf( $statusText . $reportText . "\n", $printfArguments ); }