- Forced a cronKey to be given

This commit is contained in:
Dave Mc Nicoll 2023-04-13 15:45:26 -04:00
parent dc8223f84e
commit 7c2897284b
1 changed files with 1 additions and 1 deletions

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, $variables = []) {
$this->cronKey = $cronKey; $this->cronKey = $cronKey;
$this->response = $responseInterface; $this->response = $responseInterface;
$this->variables = $variables; $this->variables = $variables;