From a88f9933d2297db678f4579ccaf4076f5db2a739 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Tue, 22 Jul 2025 22:25:16 +0800 Subject: [PATCH] Fix unique and reverse order --- src/SPC/util/SPCConfigUtil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SPC/util/SPCConfigUtil.php b/src/SPC/util/SPCConfigUtil.php index 595e330f..770f8762 100644 --- a/src/SPC/util/SPCConfigUtil.php +++ b/src/SPC/util/SPCConfigUtil.php @@ -179,7 +179,7 @@ class SPCConfigUtil } // post-process - $lib_names = array_unique(array_reverse($lib_names)); + $lib_names = array_reverse(array_unique($lib_names)); $frameworks = array_unique($frameworks); // process frameworks to short_name