Skip to content

Commit

Permalink
Fix PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar committed Aug 1, 2024
1 parent 9aed7b1 commit bb40fe8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Status/PlannedJobInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use DateTimeImmutable;
use DateTimeZone;
use function assert;

final class PlannedJobInfo
{
Expand Down Expand Up @@ -97,7 +96,6 @@ public function getEstimatedStartTimes(): array
$count = $this->getRunsCountPerMinute();
for ($i = 1; $i < $count; $i++) {
$lastTime = $lastTime->modify("+{$this->repeatAfterSeconds} seconds");
assert($lastTime !== false);
$times[] = $lastTime;
}

Expand Down

0 comments on commit bb40fe8

Please sign in to comment.