Skip to content

Commit

Permalink
FIxed startdate enddate order in calling summaries
Browse files Browse the repository at this point in the history
No idea how nobody noticed this bug.
  • Loading branch information
Mario Bašić committed Sep 19, 2018
1 parent 8eea459 commit 30bf254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/Reports.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 30bf254

Please sign in to comment.