diff --git a/src/Handler/CloudWatch.php b/src/Handler/CloudWatch.php index e0b0885..a1c10f9 100755 --- a/src/Handler/CloudWatch.php +++ b/src/Handler/CloudWatch.php @@ -113,7 +113,7 @@ private function addToBuffer(array $record): void $timestamp = $record['timestamp']; if (!$this->earliestTimestamp || $timestamp < $this->earliestTimestamp) { - $this->earliestTimestamp = $timestamp; + $this->earliestTimestamp = (int)$timestamp; } $this->buffer[] = $record;