From 94d66a7919540a5da5767b4da072db2082120666 Mon Sep 17 00:00:00 2001 From: Yu Sun Date: Sat, 13 Aug 2022 21:46:16 +0800 Subject: [PATCH] do NOT need reference here --- EdgeManager/EDataCapture/EDataCapture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EdgeManager/EDataCapture/EDataCapture.php b/EdgeManager/EDataCapture/EDataCapture.php index 991c0a6..447f1f2 100644 --- a/EdgeManager/EDataCapture/EDataCapture.php +++ b/EdgeManager/EDataCapture/EDataCapture.php @@ -40,7 +40,7 @@ class EDataCapture { ))); $code_type = &$this -> code_type; - array_walk($res, function(&$v, $k) use (&$code_type) { + array_walk($res, function($v, $k) use (&$code_type) { $code_type[$v['code']] = $v['type']; });