diff --git a/src/Aspect/CoroutineHandlerAspect.php b/src/Aspect/CoroutineHandlerAspect.php index d6e2005..d1e31bc 100644 --- a/src/Aspect/CoroutineHandlerAspect.php +++ b/src/Aspect/CoroutineHandlerAspect.php @@ -17,6 +17,7 @@ use Psr\Container\ContainerInterface; use Swoole\Coroutine\Http\Client; use SwooleTracker\Stats; + use function getSwooleTrackerSpanId; use function getSwooleTrackerTraceId; diff --git a/src/Middleware/HookMallocMiddleware.php b/src/Middleware/HookMallocMiddleware.php index ae9ca4f..7d4f7f4 100644 --- a/src/Middleware/HookMallocMiddleware.php +++ b/src/Middleware/HookMallocMiddleware.php @@ -15,6 +15,7 @@ use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Server\MiddlewareInterface; use Psr\Http\Server\RequestHandlerInterface; + use function trackerHookMalloc; class HookMallocMiddleware implements MiddlewareInterface