forked from LiveCarta/PayPal-PHP-Server-SDK
Automated commit message (#9)
Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* PaypalServerSDKLib
|
||||
* PaypalServerSdkLib
|
||||
*
|
||||
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
|
||||
*/
|
||||
|
||||
namespace PaypalServerSDKLib\Models;
|
||||
namespace PaypalServerSdkLib\Models;
|
||||
|
||||
use stdClass;
|
||||
|
||||
@@ -129,7 +129,7 @@ class LinkDescription implements \JsonSerializable
|
||||
$json['href'] = $this->href;
|
||||
$json['rel'] = $this->rel;
|
||||
if (isset($this->method)) {
|
||||
$json['method'] = LinkHTTPMethod::checkValue($this->method);
|
||||
$json['method'] = LinkHttpMethod::checkValue($this->method);
|
||||
}
|
||||
|
||||
return (!$asArrayWhenEmpty && empty($json)) ? new stdClass() : $json;
|
||||
|
||||
Reference in New Issue
Block a user