File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -480,7 +480,7 @@ protected function _setReportData($reportData)
480
480
*/
481
481
public function saveReport ($ reportData )
482
482
{
483
- $ this ->reportData = $ reportData . PHP_EOL ;
483
+ $ this ->reportData = $ reportData ;
484
484
$ this ->reportId = abs ((int )(microtime (true ) * random_int (100 , 1000 )));
485
485
$ this ->_reportFile = $ this ->_reportDir . '/ ' . $ this ->reportId ;
486
486
$ this ->_setReportData ($ reportData );
@@ -489,7 +489,7 @@ public function saveReport($reportData)
489
489
@mkdir ($ this ->_reportDir , 0777 , true );
490
490
}
491
491
492
- @file_put_contents ($ this ->_reportFile , $ this ->serializer ->serialize ($ reportData ));
492
+ @file_put_contents ($ this ->_reportFile , $ this ->serializer ->serialize ($ reportData ). PHP_EOL );
493
493
494
494
if (isset ($ reportData ['skin ' ]) && self ::DEFAULT_SKIN != $ reportData ['skin ' ]) {
495
495
$ this ->_setSkin ($ reportData ['skin ' ]);
You can’t perform that action at this time.
0 commit comments