- Forced a cronKey to be given
This commit is contained in:
parent
dc8223f84e
commit
7c2897284b
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue