mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Bump stripe-php from 16.4.0 to 17.2.1
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user