From 9cb3f187b42b11ea8a0dbc4f68b18b929000ca8f Mon Sep 17 00:00:00 2001 From: Dave M Date: Thu, 30 Mar 2023 15:26:20 +0000 Subject: [PATCH] - Fixed bug #000013 --- src/CronardMiddleware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CronardMiddleware.php b/src/CronardMiddleware.php index 54e078b..808bf2a 100644 --- a/src/CronardMiddleware.php +++ b/src/CronardMiddleware.php @@ -24,7 +24,7 @@ class CronardMiddleware implements MiddlewareInterface 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->response = $responseInterface; $this->variables = $variables;