instances added god may help
This commit is contained in:
@@ -8,7 +8,7 @@ interface ScheduledJobHandlerInterface
|
||||
* Returns the job definition (metadata + schedule defaults).
|
||||
*
|
||||
* The job_key is NOT included here – it is provided as the key in the
|
||||
* registry handler map (ScheduledJobRegistry::handlers()).
|
||||
* registry handler map in ScheduledJobRegistry.
|
||||
*
|
||||
* Required keys:
|
||||
* label (string) Human-readable name shown in admin UI.
|
||||
@@ -22,7 +22,7 @@ interface ScheduledJobHandlerInterface
|
||||
* default_catchup_once (int) 1 = catch up once after downtime (default).
|
||||
* allowed_schedule_types (array) Subset of ['hourly','daily','weekly'].
|
||||
*/
|
||||
public static function definition(): array;
|
||||
public function definition(): array;
|
||||
|
||||
/**
|
||||
* Executes the job and returns a normalized result envelope.
|
||||
@@ -42,5 +42,5 @@ interface ScheduledJobHandlerInterface
|
||||
* error_message: human-readable detail, null on success (max 255 chars)
|
||||
* result: job-specific payload, empty array if nothing to report
|
||||
*/
|
||||
public static function execute(?int $actorUserId): array;
|
||||
public function execute(?int $actorUserId): array;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user