mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-08 18:48:22 +01:00
Update Stripe lib to 10.7.0
This commit is contained in:
@@ -64,17 +64,17 @@ class Dispute extends ApiResource
|
||||
const STATUS_WON = 'won';
|
||||
|
||||
/**
|
||||
* @param null|array $params
|
||||
* @param null|array|string $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\Dispute the closed dispute
|
||||
*/
|
||||
// TODO: add $params to standardize signature
|
||||
public function close($opts = null)
|
||||
public function close($params = null, $opts = null)
|
||||
{
|
||||
$url = $this->instanceUrl() . '/close';
|
||||
list($response, $opts) = $this->_request('post', $url, null, $opts);
|
||||
list($response, $opts) = $this->_request('post', $url, $params, $opts);
|
||||
$this->refreshFrom($response, $opts);
|
||||
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user