Skip to content
Browse files

Merge pull request #196 from daFish/fix/undefinedindex

Fixes undefined index error when populating index
  • Loading branch information...
2 parents 1bcc518 + e5fef26 commit 9b5c26d3e3b9a48b00ab532762218a285179b34c @richardmiller richardmiller committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 DependencyInjection/Configuration.php
View
4 DependencyInjection/Configuration.php
@@ -50,7 +50,7 @@ private function addClientsSection(ArrayNodeDefinition $rootNode)
->then(function($v) {
return array(
'servers' => array(
- 'default' => array(
+ array(
'host' => $v['host'],
'port' => $v['port'],
)
@@ -63,7 +63,7 @@ private function addClientsSection(ArrayNodeDefinition $rootNode)
->then(function($v) {
return array(
'servers' => array(
- 'default' => array(
+ array(
'url' => $v['url'],
)
)

0 comments on commit 9b5c26d

Please sign in to comment.
Something went wrong with that request. Please try again.