We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1336694 + 7cd3cf5 commit 6282f81Copy full SHA for 6282f81
DependencyInjection/Configuration.php
@@ -263,7 +263,7 @@ public function getConfigTreeBuilder()
263
->thenInvalid('The token and user have to be specified to use a PushoverHandler')
264
->end()
265
->validate()
266
- ->ifTrue(function($v) { return 'raven' === $v['type'] && !isset($v['dsn']); })
+ ->ifTrue(function($v) { return 'raven' === $v['type'] && !array_key_exists('dsn', $v); })
267
->thenInvalid('The DSN has to be specified to use a RavenHandler')
268
269
0 commit comments