Skip to content

Commit

Permalink
Merge pull request #2 from chocofamilyme/fix.span_interface
Browse files Browse the repository at this point in the history
fix interface
  • Loading branch information
AidynMakhataev authored Jun 14, 2021
2 parents 623ab56 + 13019f9 commit 5704e65
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Jaeger.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Chocofamilyme\LaravelJaeger;

use SplStack;
use Jaeger\Span;
use OpenTracing\Span;
use OpenTracing\Tracer;
use OpenTracing\SpanContext;
use const OpenTracing\Formats\TEXT_MAP;
Expand Down Expand Up @@ -152,9 +152,6 @@ private function startSpan(string $operationName, SpanContext $context = null):
$options['child_of'] = $context;
}

/** @var Span $span */
$span = $this->tracer->startSpan($operationName, $options);

return $span;
return $this->tracer->startSpan($operationName, $options);
}
}

0 comments on commit 5704e65

Please sign in to comment.