From bdac285ea265f6074406c63c88999013a93bedc8 Mon Sep 17 00:00:00 2001 From: justmd5 Date: Wed, 24 Nov 2021 14:09:44 +0800 Subject: [PATCH] code optimize --- src/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api.php b/src/Api.php index 9f85753..1fc42e7 100644 --- a/src/Api.php +++ b/src/Api.php @@ -32,7 +32,7 @@ public function __construct(PinDuoDuo $pinduoduo, $needToken = false) * * @return string */ - private function signature($params) + private function signature($params): string { ksort($params); $paramsStr = '';