From 4d48109828906548038193f93fac911d4eaf0fb6 Mon Sep 17 00:00:00 2001 From: eeliu <27064129+eeliu@users.noreply.github.com> Date: Tue, 9 Jul 2024 13:41:51 +0800 Subject: [PATCH] fix(php): yii plugins - add np --- lib/Pinpoint/Plugins/yii2/UrlRule.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Pinpoint/Plugins/yii2/UrlRule.php b/lib/Pinpoint/Plugins/yii2/UrlRule.php index cc1dc1f..ec0f86f 100644 --- a/lib/Pinpoint/Plugins/yii2/UrlRule.php +++ b/lib/Pinpoint/Plugins/yii2/UrlRule.php @@ -21,6 +21,7 @@ use Pinpoint\Common\AbstractMonitor; use Pinpoint\Common\Logger; +use function Pinpoint\Plugins\{pinpoint_set_context}; class UrlRule extends AbstractMonitor {