Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Removed isRequired() from Configuration (#300)
Browse files Browse the repository at this point in the history
isRequired is forcing the user to specify the factory_class even when there is a default.
  • Loading branch information
jayesbe authored and OskarStark committed Dec 24, 2017
1 parent caa8176 commit eb65eff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ public function getConfigTreeBuilder()
->end()
->scalarNode('factory_class')
->cannotBeEmpty()
->isRequired()
->defaultValue(AmqpConnectionFactory::class)
->info('This option defines an AMQP connection factory to be used to establish a connection with RabbitMQ.')
->end()
Expand Down

0 comments on commit eb65eff

Please sign in to comment.