Skip to content
Browse files

ws tweak

  • Loading branch information...
1 parent 3e20eac commit 5c88435a7d7d99dc8d0745dc2bb31d36a61f491b @lsmith77 lsmith77 committed May 16, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 DependencyInjection/Configuration.php
View
8 DependencyInjection/Configuration.php
@@ -43,8 +43,8 @@ public function getConfigTreeBuilder()
->children()
->scalarNode('query_fetcher_listener')->defaultFalse()
->validate()
- ->ifNotInArray($this->forceOptionValues)
- ->thenInvalid('The query_fetcher_listener option does not support %s. Please choose one of '.json_encode($this->forceOptionValues))
+ ->ifNotInArray($this->forceOptionValues)
+ ->thenInvalid('The query_fetcher_listener option does not support %s. Please choose one of '.json_encode($this->forceOptionValues))
->end()
->end()
->arrayNode('routing_loader')
@@ -121,8 +121,8 @@ private function addViewSection(ArrayNodeDefinition $rootNode)
->end()
->scalarNode('view_response_listener')->defaultValue('force')
->validate()
- ->ifNotInArray($this->forceOptionValues)
- ->thenInvalid('The view_response_listener option does not support %s. Please choose one of '.json_encode($this->forceOptionValues))
+ ->ifNotInArray($this->forceOptionValues)
+ ->thenInvalid('The view_response_listener option does not support %s. Please choose one of '.json_encode($this->forceOptionValues))
->end()
->end()
->scalarNode('failed_validation')->defaultValue(Codes::HTTP_BAD_REQUEST)->end()

0 comments on commit 5c88435

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