fixes that

This commit is contained in:
2025-02-11 21:51:54 -05:00
parent 92cdfc6577
commit ce4492b081

View File

@@ -466,9 +466,9 @@ class CloudWatchTest extends TestCase
/** @var int|null */
$latestTime = null;
/** @var LogRecord $logEvent */
/** @var array $logEvent */
foreach ($data['logEvents'] as $logEvent) {
$logTimestamp = $logEvent->datetime->getTimestamp();
$logTimestamp = $logEvent['timestamp'];
if (!$earliestTime || $logTimestamp < $earliestTime) {
$earliestTime = $logTimestamp;