Skip to content

Commit

Permalink
Use Hyperf/Context/Context instead of Hyperf/Utils/Context. (#4565)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored Mar 1, 2022
1 parent 0aca810 commit 69476fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Aspect/JsonRpcAspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/
namespace Hyperf\Tracer\Aspect;

use Hyperf\Context\Context as CT;
use Hyperf\Di\Aop\AbstractAspect;
use Hyperf\Di\Aop\ProceedingJoinPoint;
use Hyperf\Rpc\Context;
Expand All @@ -19,7 +20,6 @@
use Hyperf\Tracer\SpanStarter;
use Hyperf\Tracer\SpanTagManager;
use Hyperf\Tracer\SwitchManager;
use Hyperf\Utils\Context as CT;
use OpenTracing\Span;
use OpenTracing\Tracer;
use Psr\Container\ContainerInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/SpanStarter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
*/
namespace Hyperf\Tracer;

use Hyperf\Context\Context;
use Hyperf\Rpc;
use Hyperf\Utils\ApplicationContext;
use Hyperf\Utils\Context;
use OpenTracing\Span;
use Psr\Http\Message\ServerRequestInterface;
use const OpenTracing\Formats\TEXT_MAP;
Expand Down
2 changes: 1 addition & 1 deletion src/SwitchManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
namespace Hyperf\Tracer;

use Hyperf\Utils\Context;
use Hyperf\Context\Context;
use OpenTracing\Span;

class SwitchManager
Expand Down

0 comments on commit 69476fd

Please sign in to comment.