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);