Skip to content

Commit

Permalink
Fix ContextHolder
Browse files Browse the repository at this point in the history
Drop if open-telemetry#819 is merged first.
  • Loading branch information
Nevay committed Sep 9, 2022
1 parent 5a2c2f5 commit 403d5cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Context/ScopeBound/ContextHolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

namespace OpenTelemetry\Context\ScopeBound;

use OpenTelemetry\Context\Context;
use OpenTelemetry\Context\ContextInterface;

/**
* @internal
*/
final class ContextHolder
{
public Context $context;
public ContextInterface $context;

public function __construct(Context $context)
public function __construct(ContextInterface $context)
{
$this->context = $context;
}
Expand Down

0 comments on commit 403d5cb

Please sign in to comment.