mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/system-cron] Require cron task wrapper constructor to be a cron task.
PHPBB3-9596
This commit is contained in:
parent
72699b72fb
commit
8cc2819610
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class cron_task_wrapper
|
||||||
/**
|
/**
|
||||||
* Wraps a task $task, which must implement cron_task interface.
|
* Wraps a task $task, which must implement cron_task interface.
|
||||||
*/
|
*/
|
||||||
public function __construct($task)
|
public function __construct(cron_task $task)
|
||||||
{
|
{
|
||||||
$this->task = $task;
|
$this->task = $task;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue