2
0
forked from Wavyzz/dolibarr

update stripe-php 7.67.0

This commit is contained in:
ptibogxiv
2021-01-03 23:37:44 +01:00
parent b0738643fb
commit 984c355f39
226 changed files with 14453 additions and 4860 deletions

View File

@@ -10,10 +10,12 @@ namespace Stripe\ApiOperations;
trait Delete
{
/**
* @param array|null $params
* @param array|string|null $opts
* @param null|array $params
* @param null|array|string $opts
*
* @return static The deleted resource.
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return static the deleted resource
*/
public function delete($params = null, $opts = null)
{
@@ -22,6 +24,7 @@ trait Delete
$url = $this->instanceUrl();
list($response, $opts) = $this->_request('delete', $url, $params, $opts);
$this->refreshFrom($response, $opts);
return $this;
}
}