Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public function getConfigTreeBuilder()
->thenInvalid('The token and user have to be specified to use a PushoverHandler')
->end()
->validate()
->ifTrue(function($v) { return 'raven' === $v['type'] && !isset($v['dsn']); })
->ifTrue(function($v) { return 'raven' === $v['type'] && !array_key_exists('dsn', $v); })
->thenInvalid('The DSN has to be specified to use a RavenHandler')
->end()
->end()
Expand Down