From b105c2db396b50bb34dd143a81b001e6be00adfd Mon Sep 17 00:00:00 2001 From: Peter Kruithof Date: Wed, 15 Jun 2022 20:43:59 +0200 Subject: [PATCH] fix(core): Fixed return type for service exception (#5338) --- Core/src/Exception/ServiceException.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/Exception/ServiceException.php b/Core/src/Exception/ServiceException.php index 603b1ba56c8e..55d07ce4fb7a 100644 --- a/Core/src/Exception/ServiceException.php +++ b/Core/src/Exception/ServiceException.php @@ -30,7 +30,7 @@ class ServiceException extends GoogleException const ERRORINFO_TYPE_REST = 'type.googleapis.com/google.rpc.ErrorInfo'; /** - * @var Exception + * @var Exception|null */ private $serviceException; @@ -90,7 +90,7 @@ public function hasServiceException() /** * Return the service exception object. * - * @return Exception + * @return Exception|null */ public function getServiceException() {