Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
hughgrigg authored and StyleCIBot committed Jul 25, 2019
1 parent 4b4fddd commit 1fd124a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/BusinessTime.php
Expand Up @@ -375,8 +375,10 @@ public function diffBusiness(
/** @var Interval $interval */
$interval = Interval::seconds(0);
$interval->seconds = $diffInBusinessTime * $this->precision()->inSeconds();

return $interval;
}

return Interval::seconds(
abs($diffInBusinessTime) * $this->precision()->inSeconds()
);
Expand Down

0 comments on commit 1fd124a

Please sign in to comment.