Error fix
This commit is contained in:
		@@ -143,8 +143,8 @@ class CommandBusClient implements CommandBusInterface
 | 
				
			|||||||
    public function execute(string $command, array $context): PromiseInterface
 | 
					    public function execute(string $command, array $context): PromiseInterface
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        if (!$this->connection) {
 | 
					        if (!$this->connection) {
 | 
				
			||||||
            return new Promise(function (callable $resolve) {
 | 
					            return new Promise(function (callable $resolve, callable $canceller) {
 | 
				
			||||||
                $resolve(new \RuntimeException("Not connected to command bus."));
 | 
					                $canceller("Not connected to command bus.");
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user