summaryrefslogtreecommitdiff
path: root/vendor/opentracing/opentracing/src/OpenTracing/NoopScopeManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/opentracing/opentracing/src/OpenTracing/NoopScopeManager.php')
-rw-r--r--vendor/opentracing/opentracing/src/OpenTracing/NoopScopeManager.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/vendor/opentracing/opentracing/src/OpenTracing/NoopScopeManager.php b/vendor/opentracing/opentracing/src/OpenTracing/NoopScopeManager.php
deleted file mode 100644
index 5576171a8..000000000
--- a/vendor/opentracing/opentracing/src/OpenTracing/NoopScopeManager.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTracing;
-
-final class NoopScopeManager implements ScopeManager
-{
- /**
- * {@inheritdoc}
- */
- public function activate(Span $span, bool $finishSpanOnClose = ScopeManager::DEFAULT_FINISH_SPAN_ON_CLOSE): Scope
- {
- return new NoopScope();
- }
-
- /**
- * {@inheritdoc}
- */
- public function getActive(): ?Scope
- {
- return new NoopScope();
- }
-}