From 30bf254f241b76f6fe8ea05602620cbf4b374e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Ba=C5=A1i=C4=87?= Date: Wed, 19 Sep 2018 21:03:28 +0200 Subject: [PATCH] FIxed startdate enddate order in calling summaries No idea how nobody noticed this bug. --- src/Traits/Reports.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/Reports.php b/src/Traits/Reports.php index 2d0d2c5..147176c 100644 --- a/src/Traits/Reports.php +++ b/src/Traits/Reports.php @@ -14,7 +14,7 @@ trait Reports { */ public function getHoursLoggedFor($startDate, $endDate, $project = null, $branches = null) { - $response = $this->summaries($endDate, $startDate, $project, $branches); + $response = $this->summaries($startDate, $endDate, $project, $branches); return $this->calculateHoursLogged($response); }