From 04e3cb543b17780e1839e36fc167a0acb5524325 Mon Sep 17 00:00:00 2001 From: gggeek Date: Fri, 9 Sep 2016 11:06:49 +0100 Subject: [PATCH] Fix a warning when generating reports --- bin/php/report.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/php/report.php b/bin/php/report.php index 9e3877b..78f39c2 100644 --- a/bin/php/report.php +++ b/bin/php/report.php @@ -104,7 +104,8 @@ } $cli->output(); - $cli->output( reportGenerator::getCSV( $report ) ); + $reportFormatter = new reportGenerator(); + $cli->output( $reportFormatter->getCSV( $report ) ); } $script->shutdown();