Bump stripe-php from 16.4.0 to 17.2.1

This commit is contained in:
johnnyq
2025-05-22 12:37:35 -04:00
parent 5361391b3b
commit 6a368840fa
332 changed files with 4978 additions and 4624 deletions

View File

@@ -2,7 +2,7 @@
namespace Stripe\Service;
class OAuthService extends \Stripe\Service\AbstractService
class OAuthService extends AbstractService
{
/**
* Sends a request to Stripe's Connect API.
@@ -53,9 +53,9 @@ class OAuthService extends \Stripe\Service\AbstractService
* @param null|array $params
* @param null|array $opts
*
* @throws \Stripe\Exception\OAuth\OAuthErrorException if the request fails
*
* @return \Stripe\StripeObject object containing the response from the API
*
* @throws \Stripe\Exception\OAuth\OAuthErrorException if the request fails
*/
public function token($params = null, $opts = null)
{
@@ -71,9 +71,9 @@ class OAuthService extends \Stripe\Service\AbstractService
* @param null|array $params
* @param null|array $opts
*
* @throws \Stripe\Exception\OAuth\OAuthErrorException if the request fails
*
* @return \Stripe\StripeObject object containing the response from the API
*
* @throws \Stripe\Exception\OAuth\OAuthErrorException if the request fails
*/
public function deauthorize($params = null, $opts = null)
{
@@ -118,9 +118,9 @@ class OAuthService extends \Stripe\Service\AbstractService
/**
* @param array|\Stripe\Util\RequestOptions $opts the special modifiers of the request
*
* @throws \Stripe\Exception\InvalidArgumentException
*
* @return \Stripe\Util\RequestOptions
*
* @throws \Stripe\Exception\InvalidArgumentException
*/
private function _parseOpts($opts)
{
@@ -143,8 +143,8 @@ class OAuthService extends \Stripe\Service\AbstractService
*/
private function _getBase($opts)
{
return isset($opts->apiBase) ?
$opts->apiBase :
$this->client->getConnectBase();
return isset($opts->apiBase)
? $opts->apiBase
: $this->client->getConnectBase();
}
}