Skip to content

Commit ca01517

Browse files
committed
worker can be class that extends from RabbitMQQueue class
1 parent 3f8969f commit ca01517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Queue/Connectors/RabbitMQConnector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function connect(array $config): Queue
8686
return new HorizonRabbitMQQueue($context, $config);
8787
}
8888

89-
if($worker instanceof RabbitMQQueue) {
89+
if ($worker instanceof RabbitMQQueue) {
9090
return new $worker($context, $config);
9191
}
9292

0 commit comments

Comments
 (0)