Skip to content

Commit

Permalink
Update NoGatewayAvailableException.php
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Jan 23, 2024
1 parent e1eb656 commit ce63cb1
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/Exceptions/NoGatewayAvailableException.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,6 @@ public function getResults()
return $this->results;
}

/**
* @return array
*/
public function getAllResults()
{
$results = [];
foreach ($this->exceptions as $gateway => $exception) {
$results[$gateway] = $exception->getMessage();
}
return $results;
}

/**
* @param string $gateway
*
Expand Down

0 comments on commit ce63cb1

Please sign in to comment.