Skip to content

Commit

Permalink
fix(core): Fixed return type for service exception (#5338)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkruithof authored and vishwarajanand committed Jul 2, 2022
1 parent a04e4ac commit b105c2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/src/Exception/ServiceException.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -90,7 +90,7 @@ public function hasServiceException()
/**
* Return the service exception object.
*
* @return Exception
* @return Exception|null
*/
public function getServiceException()
{
Expand Down

0 comments on commit b105c2d

Please sign in to comment.