Skip to content

Commit f62a639

Browse files
authored
Merge pull request #285 from trippo/patch-1
Round diffInMinutes on Carbon 3
2 parents c79223b + ce18fc5 commit f62a639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Checks/Checks/QueueCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function run(): Result
8383

8484
$carbonVersion = InstalledVersions::getVersion('nesbot/carbon');
8585

86-
$minutesAgo = $latestHeartbeatAt->diffInMinutes();
86+
$minutesAgo = (int) $latestHeartbeatAt->diffInMinutes();
8787

8888
if (version_compare($carbonVersion,
8989
'3.0.0', '<')) {

0 commit comments

Comments
 (0)