- Merged commits

This commit is contained in:
Dave Mc Nicoll 2023-04-13 15:46:22 -04:00
commit a364a51f85
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ 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;