Skip to content

Commit 676f3dc

Browse files
committed
Generate models without @description tag
1 parent b28aebf commit 676f3dc

File tree

8 files changed

+16
-15
lines changed

8 files changed

+16
-15
lines changed

src/Adyen/Model/Checkout/CheckoutPaymentMethod.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* CheckoutPaymentMethod Class Doc Comment
2323
*
2424
* @category Class
25-
* @description The type and required details of a payment method to use.
25+
* The type and required details of a payment method to use.
2626
* @package Adyen
2727
* @author OpenAPI Generator team
2828
* @link https://openapi-generator.tech
@@ -2072,7 +2072,7 @@ public function getShopperEmail()
20722072
/**
20732073
* Sets shopperEmail
20742074
*
2075-
* @param string $shopperEmail
2075+
* @param string $shopperEmail
20762076
*
20772077
* @return self
20782078
*/
@@ -2096,7 +2096,7 @@ public function getTelephoneNumber()
20962096
/**
20972097
* Sets telephoneNumber
20982098
*
2099-
* @param string $telephoneNumber
2099+
* @param string $telephoneNumber
21002100
*
21012101
* @return self
21022102
*/

src/Adyen/Model/Checkout/DonationPaymentMethod.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* DonationPaymentMethod Class Doc Comment
2323
*
2424
* @category Class
25-
* @description The type and required details of a payment method to use.
25+
* The type and required details of a payment method to use.
2626
* @package Adyen
2727
* @author OpenAPI Generator team
2828
* @link https://openapi-generator.tech

src/Adyen/Model/Checkout/MbwayDetails.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ public function getShopperEmail()
361361
/**
362362
* Sets shopperEmail
363363
*
364-
* @param string $shopperEmail
364+
* @param string $shopperEmail
365365
*
366366
* @return self
367367
*/
@@ -385,7 +385,7 @@ public function getTelephoneNumber()
385385
/**
386386
* Sets telephoneNumber
387387
*
388-
* @param string $telephoneNumber
388+
* @param string $telephoneNumber
389389
*
390390
* @return self
391391
*/

src/Adyen/Model/Checkout/ObjectSerializer.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
namespace Adyen\Model\Checkout;
1717

1818
use Adyen\Model\Checkout\ModelInterface;
19+
use GuzzleHttp\Utils;
1920

2021
class ObjectSerializer
2122
{
@@ -81,7 +82,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n
8182
}
8283
}
8384
} else {
84-
foreach ($data as $property => $value) {
85+
foreach($data as $property => $value) {
8586
$values[$property] = self::sanitizeForSerialization($value);
8687
}
8788
}
@@ -117,9 +118,7 @@ public static function sanitizeFilename($filename)
117118
*/
118119
public static function sanitizeTimestamp($timestamp)
119120
{
120-
if (!is_string($timestamp)) {
121-
return $timestamp;
122-
}
121+
if (!is_string($timestamp)) return $timestamp;
123122

124123
return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp);
125124
}
@@ -242,7 +241,8 @@ public static function deserialize($data, $class, $httpHeaders = null)
242241
/** @var \Psr\Http\Message\StreamInterface $data */
243242

244243
// determine file name
245-
if (is_array($httpHeaders)
244+
if (
245+
is_array($httpHeaders)
246246
&& array_key_exists('Content-Disposition', $httpHeaders)
247247
&& preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match)
248248
) {

src/Adyen/Model/Checkout/PaymentResponseAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* PaymentResponseAction Class Doc Comment
2323
*
2424
* @category Class
25-
* @description Action to be taken for completing the payment.
25+
* Action to be taken for completing the payment.
2626
* @package Adyen
2727
* @author OpenAPI Generator team
2828
* @link https://openapi-generator.tech

src/Adyen/Model/Checkout/VippsDetails.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ public function getTelephoneNumber()
415415
/**
416416
* Sets telephoneNumber
417417
*
418-
* @param string $telephoneNumber
418+
* @param string $telephoneNumber
419419
*
420420
* @return self
421421
*/

src/Adyen/Service/Checkout/RecurringApi.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,14 @@ public function __construct(Client $client)
4444
*
4545
* @param string $storedPaymentMethodId
4646
* @param array|null $requestOptions ['queryParams' => ['shopperReference'=> string, 'merchantAccount'=> string]]
47-
47+
4848
* @throws AdyenException
4949
*/
5050
public function deleteTokenForStoredPaymentDetails(string $storedPaymentMethodId, ?array $requestOptions = null)
5151
{
5252
$endpoint = $this->baseURL . str_replace(['{storedPaymentMethodId}'], [$storedPaymentMethodId], "/storedPaymentMethods/{storedPaymentMethodId}");
5353
$this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions);
54+
5455
}
5556

5657
/**

src/Adyen/Service/Checkout/UtilityApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function getApplePaySession(\Adyen\Model\Checkout\ApplePaySessionRequest
5757
/**
5858
* Create originKey values for domains
5959
*
60-
* @deprecated since Adyen Checkout API v67.
60+
* @deprecated since Adyen Checkout API v67.
6161
* @param \Adyen\Model\Checkout\UtilityRequest $utilityRequest
6262
* @param array|null $requestOptions
6363
* @return \Adyen\Model\Checkout\UtilityResponse

0 commit comments

Comments
 (0)