From 7c2897284ba3808c0a64eb2b4eb547027f043d26 Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Thu, 13 Apr 2023 15:45:26 -0400 Subject: [PATCH] - Forced a cronKey to be given --- src/CronardMiddleware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CronardMiddleware.php b/src/CronardMiddleware.php index 54e078b..0e535c7 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, $variables = []) { $this->cronKey = $cronKey; $this->response = $responseInterface; $this->variables = $variables;