Skip to content

Commit

Permalink
fix: ServiceException constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed May 3, 2022
1 parent e4caaa7 commit 5cc62f2
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 @@ -39,12 +39,12 @@ class ServiceException extends GoogleException
*
* @param string $message
* @param int $code
* @param Exception $serviceException
* @param Exception|null $serviceException
* @param array $metadata [optional] Exception metadata.
*/
public function __construct(
$message,
$code = null,
$code = 0,
Exception $serviceException = null,
array $metadata = []
) {
Expand Down

0 comments on commit 5cc62f2

Please sign in to comment.