mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-08 03:21:20 +00:00
Code cleanup
This commit is contained in:
@@ -50,6 +50,7 @@ trait DateCalculation
|
||||
if ($start->lte($today) && $end->gte($today)) {
|
||||
$difference = $today->diffInDays($end);
|
||||
}
|
||||
|
||||
return 0 === $difference ? 1 : $difference;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user