Skip to content

Commit 75dcd27

Browse files
committed
Code formatting
1 parent 676f3dc commit 75dcd27

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

src/Adyen/Model/Checkout/CheckoutPaymentMethod.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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/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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n
8282
}
8383
}
8484
} else {
85-
foreach($data as $property => $value) {
85+
foreach ($data as $property => $value) {
8686
$values[$property] = self::sanitizeForSerialization($value);
8787
}
8888
}
@@ -118,7 +118,9 @@ public static function sanitizeFilename($filename)
118118
*/
119119
public static function sanitizeTimestamp($timestamp)
120120
{
121-
if (!is_string($timestamp)) return $timestamp;
121+
if (!is_string($timestamp)) {
122+
return $timestamp;
123+
}
122124

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

243245
// determine file name
244-
if (
245-
is_array($httpHeaders)
246+
if (is_array($httpHeaders)
246247
&& array_key_exists('Content-Disposition', $httpHeaders)
247248
&& preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match)
248249
) {

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: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,13 @@ 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-
5554
}
5655

5756
/**

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)