Skip to content

Commit

Permalink
Merge pull request #766 from LiFaytheGoblin/patch-1
Browse files Browse the repository at this point in the history
Update adhoc.md
  • Loading branch information
sarjona authored Oct 20, 2023
2 parents 6b3dfb2 + 7ae5944 commit 77fbbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apis/subsystems/task/adhoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class do_something extends \core\task\adhoc_task {
public static function instance(
int $id,
string $status,
): void {
): self {
$task = new self();
$task->set_custom_data((object) [
'id' => $id,
Expand Down

0 comments on commit 77fbbca

Please sign in to comment.