We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 399b190 commit cd130d7Copy full SHA for cd130d7
src/Queue/Connectors/RabbitMQConnector.php
@@ -39,10 +39,6 @@ public function __construct(Dispatcher $dispatcher)
39
*/
40
public function connect(array $config): Queue
41
{
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
-
46
$factoryClass = Arr::get($config, 'factory_class', EnqueueAmqpConnectionFactory::class);
47
48
if (!class_exists($factoryClass) || !(new \ReflectionClass($factoryClass))->implementsInterface(InteropAmqpConnectionFactory::class)) {
0 commit comments