Skip to content

Commit

Permalink
Merge pull request #71 from stephaneseng/fix/keycloakProvider/nullDef…
Browse files Browse the repository at this point in the history
…aultValues

Keycloak provider: Set optional configuration items default values to null instead of an empty string to avoid a PHP warning
  • Loading branch information
weaverryan authored Dec 25, 2017
2 parents c3ec672 + 0a17c18 commit 463e9d4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ public function buildConfiguration(NodeBuilder $node)
->info('Keycloak realm')
->end()
->scalarNode('encryption_algorithm')
->defaultValue('')
->defaultNull()
->info('Optional: Encryption algorith, i.e. RS256')
->end()
->scalarNode('encryption_key_path')
->defaultValue('')
->defaultNull()
->info('Optional: Encryption key path, i.e. ../key.pem')
->end()
->scalarNode('encryption_key')
->defaultValue('')
->defaultNull()
->info('Optional: Encryption key, i.e. contents of key or certificate')
->end()
;
Expand Down

0 comments on commit 463e9d4

Please sign in to comment.