Skip to content

Commit cd130d7

Browse files
committed
vyuldashev#225 laravel horizon support
1 parent 399b190 commit cd130d7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Queue/Connectors/RabbitMQConnector.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ public function __construct(Dispatcher $dispatcher)
3939
*/
4040
public function connect(array $config): Queue
4141
{
42-
if (false === array_key_exists('factory_class', $config)) {
43-
throw new \LogicException('The factory_class option is missing though it is required.');
44-
}
45-
4642
$factoryClass = Arr::get($config, 'factory_class', EnqueueAmqpConnectionFactory::class);
4743

4844
if (!class_exists($factoryClass) || !(new \ReflectionClass($factoryClass))->implementsInterface(InteropAmqpConnectionFactory::class)) {

0 commit comments

Comments
 (0)