e
This commit is contained in:
@@ -14,7 +14,7 @@ class OnTaskExecuted
|
||||
* @param string $className 任务处理类
|
||||
* @param string $taskName 任务显示名称
|
||||
* @param float $duration 执行耗时 (秒)
|
||||
* @param int $nextRun 下次执行时间戳
|
||||
* @param int $nextRun 下次执行毫秒级时间戳
|
||||
*/
|
||||
public function __construct(
|
||||
public string $taskKey,
|
||||
|
||||
@@ -15,7 +15,7 @@ class OnTaskFailed
|
||||
* @param string $taskName 任务显示名称
|
||||
* @param \Throwable $error 异常信息
|
||||
* @param float $duration 执行耗时 (秒)
|
||||
* @param int $nextRun 下次执行时间戳 (失败仍会调度下次)
|
||||
* @param int $nextRun 下次执行毫秒级时间戳 (失败仍会调度下次)
|
||||
*/
|
||||
public function __construct(
|
||||
public string $taskKey,
|
||||
|
||||
Reference in New Issue
Block a user