Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wpforms-.../vendor_p.../stripe/stripe-p.../lib
File: OAuthErrorObject.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace WPForms\Vendor\Stripe;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* Class OAuthErrorObject.
[5] Fix | Delete
*
[6] Fix | Delete
* @property string $error
[7] Fix | Delete
* @property string $error_description
[8] Fix | Delete
*/
[9] Fix | Delete
class OAuthErrorObject extends StripeObject
[10] Fix | Delete
{
[11] Fix | Delete
/**
[12] Fix | Delete
* Refreshes this object using the provided values.
[13] Fix | Delete
*
[14] Fix | Delete
* @param array $values
[15] Fix | Delete
* @param null|array|string|Util\RequestOptions $opts
[16] Fix | Delete
* @param bool $partial defaults to false
[17] Fix | Delete
*/
[18] Fix | Delete
public function refreshFrom($values, $opts, $partial = \false)
[19] Fix | Delete
{
[20] Fix | Delete
// Unlike most other API resources, the API will omit attributes in
[21] Fix | Delete
// error objects when they have a null value. We manually set default
[22] Fix | Delete
// values here to facilitate generic error handling.
[23] Fix | Delete
$values = \array_merge(['error' => null, 'error_description' => null], $values);
[24] Fix | Delete
parent::refreshFrom($values, $opts, $partial);
[25] Fix | Delete
}
[26] Fix | Delete
}
[27] Fix | Delete
[28] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function