- Fixed bug #000013
This commit is contained in:
parent
dc8223f84e
commit
9cb3f187b4
|
@ -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 = null, $variables = []) {
|
||||||
$this->cronKey = $cronKey;
|
$this->cronKey = $cronKey;
|
||||||
$this->response = $responseInterface;
|
$this->response = $responseInterface;
|
||||||
$this->variables = $variables;
|
$this->variables = $variables;
|
||||||
|
|
Loading…
Reference in New Issue