- Merged commits
This commit is contained in:
commit
a364a51f85
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue