Skip to content

Commit 0cd738a

Browse files
Allow explicit null value for dsn configuration option
1 parent b46eb30 commit 0cd738a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DependencyInjection/SentryExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private function registerConfiguration(ContainerBuilder $container, array $confi
6767
{
6868
$options = $config['options'];
6969

70-
if (isset($config['dsn'])) {
70+
if (array_key_exists('dsn', $config)) {
7171
$options['dsn'] = $config['dsn'];
7272
}
7373

0 commit comments

Comments
 (0)