We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1be9a48 + 9f4fbe5 commit f655f0fCopy full SHA for f655f0f
Classes/SentryClient.php
@@ -83,9 +83,9 @@ class SentryClient
83
84
public function injectSettings(array $settings): void
85
{
86
- $this->dsn = $settings['dsn'] ?? '';
87
- $this->environment = $settings['environment'] ?? '';
88
- $this->release = $settings['release'] ?? '';
+ $this->dsn = $settings['dsn'] ?: '';
+ $this->environment = $settings['environment'] ?: '';
+ $this->release = $settings['release'] ?: '';
89
$this->sampleRate = (float)($settings['sampleRate'] ?? 1);
90
$this->excludeExceptionTypes = $settings['capture']['excludeExceptionTypes'] ?? [];
91
}
0 commit comments