Skip to content

Commit 3dd7076

Browse files
committed
Merge pull request #219 from balazscsaba2006/master
[Configuration][DependencyInjection] Fixed node type definitions
2 parents 7acc337 + 6b7d2bf commit 3dd7076

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ protected function addConnections(ArrayNodeDefinition $node)
5454
->scalarNode('password')->defaultValue('guest')->end()
5555
->scalarNode('vhost')->defaultValue('/')->end()
5656
->booleanNode('lazy')->defaultFalse()->end()
57-
->booleanNode('connection_timeout')->defaultValue(3)->end()
58-
->booleanNode('read_write_timeout')->defaultValue(3)->end()
57+
->scalarNode('connection_timeout')->defaultValue(3)->end()
58+
->scalarNode('read_write_timeout')->defaultValue(3)->end()
5959
->booleanNode('keepalive')->defaultFalse()->info('requires php-amqplib v2.4.1+ and PHP5.4+')->end()
6060
->scalarNode('heartbeat')->defaultValue(0)->info('requires php-amqplib v2.4.1+')->end()
6161
->end()

0 commit comments

Comments
 (0)