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.
1 parent 7bac2f6 commit 25fd60cCopy full SHA for 25fd60c
src/SwitchManager.php
@@ -39,10 +39,6 @@ public function apply(array $config): void
39
*/
40
public function isEnabled(string $identifier): bool
41
{
42
- if (! isset($this->config[$identifier])) {
43
- return false;
44
- }
45
-
46
- return $this->config[$identifier] && Context::get('tracer.root') instanceof Span;
+ return $this->config[$identifier] ?? false;
47
}
48
0 commit comments