Skip to content

Commit

Permalink
fix type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
wangrzneu committed Dec 14, 2023
1 parent fcd683d commit f682645
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Core/Exception/UCloudException.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class UCloudException extends Exception
/**
* Original Response
*
* @var Response
* @var Response|null
*/
private $response;
/**
Expand All @@ -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)
{
Expand Down Expand Up @@ -77,7 +77,7 @@ public function getRequestId()
/**
* Get response
*
* @return Response
* @return Response|null
*/
public function getResponse()
{
Expand Down

0 comments on commit f682645

Please sign in to comment.