Skip to content

Commit 6282f81

Browse files
committed
Merge pull request #47 from lyrixx/patch-1
Allow raven.dsn with "null" value
2 parents 1336694 + 7cd3cf5 commit 6282f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public function getConfigTreeBuilder()
263263
->thenInvalid('The token and user have to be specified to use a PushoverHandler')
264264
->end()
265265
->validate()
266-
->ifTrue(function($v) { return 'raven' === $v['type'] && !isset($v['dsn']); })
266+
->ifTrue(function($v) { return 'raven' === $v['type'] && !array_key_exists('dsn', $v); })
267267
->thenInvalid('The DSN has to be specified to use a RavenHandler')
268268
->end()
269269
->end()

0 commit comments

Comments
 (0)