This commit is contained in:
mcndave committed 2023-03-30 15:26:20 +00:00
1 parent dc8223f84e
commit 9cb3f187b4
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ class CronardMiddleware implements MiddlewareInterface
public ? TaskFetcher $taskFetcher; public ? TaskFetcher $taskFetcher;
public function __construct(ContainerInterface $container, string $cronKey = "", $responseInterface, $variables = []) { public function __construct(ContainerInterface $container, string $cronKey = "", $responseInterface = null, $variables = []) {
$this->cronKey = $cronKey; $this->cronKey = $cronKey;
$this->response = $responseInterface; $this->response = $responseInterface;
$this->variables = $variables; $this->variables = $variables;