Skip to content

Commit

Permalink
Merge pull request #137 from sunra/master
Browse files Browse the repository at this point in the history
Update Configuration.php - fix for "Unknown server profile: 2,8"
  • Loading branch information
snc committed May 20, 2014
2 parents 6503cfc + 163fda6 commit e6ea2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/Configuration/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private function addClientsSection(ArrayNodeDefinition $rootNode)
->scalarNode('profile')->defaultValue('2.4')
->beforeNormalization()
->ifTrue(function($v) { return false === is_string($v); })
->then(function($v) { return sprintf('%.1f', $v); })
->then(function($v) { return sprintf('%.1F', $v); })
->end()
->end()
->scalarNode('cluster')->defaultNull()->end()
Expand Down

0 comments on commit e6ea2d0

Please sign in to comment.