- 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 function __construct(ContainerInterface $container, string $cronKey = "", $responseInterface, $variables = []) { | ||||
|     public function __construct(ContainerInterface $container, string $cronKey, $responseInterface, $variables = []) { | ||||
|         $this->cronKey = $cronKey; | ||||
|         $this->response = $responseInterface; | ||||
|         $this->variables = $variables; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user