From 3e4d4343be878e00fb6fbbe2c23bce58e441e616 Mon Sep 17 00:00:00 2001 From: Joop Schilder Date: Mon, 14 Dec 2020 16:08:14 +0100 Subject: [PATCH] Fix error in RepeatedTask --- src/Task/Task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Task/Task.php b/src/Task/Task.php index 2a733fd..08b62b7 100644 --- a/src/Task/Task.php +++ b/src/Task/Task.php @@ -11,7 +11,7 @@ abstract class Task public array $arguments; protected ?TimerInterface $timer = null; - public function __construct(callable $callable, ...$arguments) + public function __construct(callable $callable, array $arguments) { $this->callable = $callable; $this->arguments = $arguments;