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 5efa292 commit ebc128aCopy full SHA for ebc128a
2 files changed
lib/private/BackgroundJob/JobRuns.php
@@ -72,9 +72,9 @@ public function runningJobs(int $limit = 200): \Generator {
72
$row['run_id'],
73
$this->classesRegistry->getName($row['class_id']),
74
$snowflakeInfo->getServerId(),
75
- $row['pid'],
+ (int)$row['pid'],
76
$snowflakeInfo->getCreatedAt(),
77
- JobStatus::from($row['status']),
+ JobStatus::from((int)$row['status']),
78
);
79
}
80
lib/public/BackgroundJob/JobRun.php
@@ -25,7 +25,7 @@
25
*/
26
public function __construct(
27
/** Run ID (Snowflake ID) */
28
- public int $runId,
+ public int|string $runId,
29
/** Class name */
30
public string $className,
31
/** Server ID */
0 commit comments