From e0acc2f5eafd600b3ab7147f597b9fedb2328828 Mon Sep 17 00:00:00 2001 From: Matheus Mariano Date: Wed, 10 Feb 2016 23:55:58 -0300 Subject: [PATCH] Fix PSR3Journal report. --- src/Scientist/Journal/PSR3Journal.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Scientist/Journal/PSR3Journal.php b/src/Scientist/Journal/PSR3Journal.php index a5d8965..d09664d 100644 --- a/src/Scientist/Journal/PSR3Journal.php +++ b/src/Scientist/Journal/PSR3Journal.php @@ -73,10 +73,10 @@ public function report(Experiment $experiment, Report $report) $this->config->getIsMatchKey() => $result->isMatch(), $this->config->getStartTimeKey() => $result->getStartTime(), $this->config->getEndTimeKey() => $result->getEndTime(), - $this->config->getTimeKey() => $result->getEndTime(), + $this->config->getTimeKey() => $result->getTime(), $this->config->getStartMemoryKey() => $result->getStartMemory(), $this->config->getEndMemoryKey() => $result->getEndMemory(), - $this->config->getMemoryKey() => $result->getEndMemory() + $this->config->getMemoryKey() => $result->getMemory() ]; if ($this->config->shouldReportValue()) { @@ -109,4 +109,4 @@ public function getReport() { return $this->report; } -} \ No newline at end of file +}