We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bcfa22 commit a18a687Copy full SHA for a18a687
src/Worker/Internal/TaskSubmission.php
@@ -14,7 +14,9 @@ final class TaskSubmission extends JobPacket
14
public function __construct(Task $task)
15
{
16
$this->task = $task;
17
- parent::__construct(self::$nextId++);
+ $id = self::$nextId;
18
+ \PHP_VERSION_ID >= 80300 ? self::$nextId = str_increment(self::$nextId) : ++self::$nextId;
19
+ parent::__construct($id);
20
}
21
22
public function getTask(): Task
0 commit comments