From 0885bd4c5a660ec384a0bf9738ba69af551c0f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Thu, 13 Mar 2025 09:06:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E6=8E=A5=E6=94=B6=E5=8F=82=E6=95=B0=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=97=AE=E9=A2=98=EF=BC=8C=E6=94=AF=E6=8C=81=20null?= =?UTF-8?q?=20=E8=87=AA=E5=8A=A8=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WePayV3/Order.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WePayV3/Order.php b/WePayV3/Order.php index ca7e587..5e67423 100644 --- a/WePayV3/Order.php +++ b/WePayV3/Order.php @@ -104,11 +104,11 @@ class Order extends BasicWePay /** * 支付通知解析 - * @param array $data + * @param array|null $data * @return array * @throws \WeChat\Exceptions\InvalidDecryptException */ - public function notify(array $data = []) + public function notify($data = []) { if (empty($data)) { $data = json_decode(Tools::getRawInput(), true);