Skip to content

Commit

Permalink
fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
smhg committed Jun 21, 2023
1 parent 54926ad commit 4eda9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Timespan/Timespan.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function trim(DateTimeInterface $start, DateTimeInterface $end)
/**
* Compare timespan with another timespan
* @param Timespan $span
* @return boolean
* @return int
*/
public function compare(Timespan $span)
{
Expand Down

0 comments on commit 4eda9ba

Please sign in to comment.