Skip to content

Commit

Permalink
Merge pull request #5 from vulpecula-io/fix/maxDataPoints
Browse files Browse the repository at this point in the history
Fix/max data points
  • Loading branch information
rabrowne85 authored Nov 26, 2024
2 parents eefa46e + ffb7aca commit c45ea19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Enums/Period.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function maxDataPoints(): int
self::HALFDAY, self::DAY => 24,
self::WEEK => 7,
self::MONTH => CarbonImmutable::now()->daysInMonth,
self::QUARTER => (int) CarbonImmutable::now()->daysInYear / 4,
self::QUARTER => (int) (CarbonImmutable::now()->daysInYear / 4),
self::HALFYEAR => 6,
};
}
Expand Down

0 comments on commit c45ea19

Please sign in to comment.