Fix error in RepeatedTask
This commit is contained in:
parent
a5ef2de3e4
commit
3e4d4343be
@ -11,7 +11,7 @@ abstract class Task
|
|||||||
public array $arguments;
|
public array $arguments;
|
||||||
protected ?TimerInterface $timer = null;
|
protected ?TimerInterface $timer = null;
|
||||||
|
|
||||||
public function __construct(callable $callable, ...$arguments)
|
public function __construct(callable $callable, array $arguments)
|
||||||
{
|
{
|
||||||
$this->callable = $callable;
|
$this->callable = $callable;
|
||||||
$this->arguments = $arguments;
|
$this->arguments = $arguments;
|
||||||
|
Loading…
Reference in New Issue
Block a user