From f682645d23f44fb99397048370595e6d5aac0377 Mon Sep 17 00:00:00 2001 From: "renzheng.wang" Date: Thu, 14 Dec 2023 13:43:07 +0800 Subject: [PATCH] fix type hint --- src/Core/Exception/UCloudException.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Core/Exception/UCloudException.php b/src/Core/Exception/UCloudException.php index ce87320f..113fcd41 100644 --- a/src/Core/Exception/UCloudException.php +++ b/src/Core/Exception/UCloudException.php @@ -33,7 +33,7 @@ class UCloudException extends Exception /** * Original Response * - * @var Response + * @var Response|null */ private $response; /** @@ -44,7 +44,7 @@ class UCloudException extends Exception * @param int|int $retCode * @param Throwable|null $previous * @param string $requestId - * @param Response $response + * @param Response|null $response */ public function __construct($type, $message = "", $retCode = 0, $previous = null, $requestId = "", $response = null) { @@ -77,7 +77,7 @@ public function getRequestId() /** * Get response * - * @return Response + * @return Response|null */ public function getResponse() {