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 Create
{
/**
* @param array|null $params
* @param array|string|null $options
* @param null|array $params
* @param null|array|string $options
*
* @return static The created resource.
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return static the created resource
*/
public static function create($params = null, $options = null)
{
@@ -23,6 +25,7 @@ trait Create
list($response, $opts) = static::_staticRequest('post', $url, $params, $options);
$obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts);
$obj->setLastResponse($response);
return $obj;
}
}