Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and github-actions[bot] committed Mar 8, 2024
1 parent 2433815 commit 6418cd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Checks/Checks/QueueCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function run(): Result

if (version_compare($carbonVersion,
'3.0.0', '<')) {
$minutesAgo +=1;
$minutesAgo += 1;
}

if ($minutesAgo > $this->failWhenTestJobTakesLongerThanMinutes) {
Expand Down
7 changes: 1 addition & 6 deletions src/Checks/Checks/ScheduleCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,9 @@ public function run(): Result

if (version_compare($carbonVersion,
'3.0.0', '<')) {
$minutesAgo +=1;
$minutesAgo += 1;
}






if ($minutesAgo > $this->heartbeatMaxAgeInMinutes) {
return $result->failed("The last run of the schedule was more than {$minutesAgo} minutes ago.");
}
Expand Down

0 comments on commit 6418cd3

Please sign in to comment.