Skip to content

Commit 4a1436b

Browse files
author
Vladan Jovic
committed
Add incremental Tasker delay when retrying tasks
Add missing type cast.
1 parent 55273fa commit 4a1436b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Tasker2/RetryAfterResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ class RetryAfterResolver
1515

1616
/**
1717
* RetryAfterResolver constructor.
18-
* @param $startedCount
18+
* @param int $startedCount
1919
*/
2020
public function __construct($startedCount)
2121
{
22-
$this->startedCount = $startedCount;
22+
$this->startedCount = (int) $startedCount;
2323
}
2424

2525
/**

0 commit comments

Comments
 (0)