Skip to content

Commit 45017e8

Browse files
Default to null rather than false (#29)
1 parent 087f33d commit 45017e8

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
@@ -23,10 +23,10 @@ public function getConfigTreeBuilder()
2323
$rootNode
2424
->children()
2525
->scalarNode('api_key')
26-
->defaultValue(getenv('BUGSNAG_API_KEY'))
26+
->defaultValue(getenv('BUGSNAG_API_KEY') ?: null)
2727
->end()
2828
->scalarNode('endpoint')
29-
->defaultValue(getenv('BUGSNAG_ENDPOINT'))
29+
->defaultValue(getenv('BUGSNAG_ENDPOINT') ?: null)
3030
->end()
3131
->booleanNode('callbacks')
3232
->defaultValue(true)

0 commit comments

Comments
 (0)