Skip to content

Commit adc9000

Browse files
committed
Code format
1 parent 9c4f335 commit adc9000

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

src/Adyen/Model/Checkout/CheckoutPaymentMethod.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,7 +2070,7 @@ public function getShopperEmail()
20702070
/**
20712071
* Sets shopperEmail
20722072
*
2073-
* @param string $shopperEmail
2073+
* @param string $shopperEmail
20742074
*
20752075
* @return self
20762076
*/
@@ -2094,7 +2094,7 @@ public function getTelephoneNumber()
20942094
/**
20952095
* Sets telephoneNumber
20962096
*
2097-
* @param string $telephoneNumber
2097+
* @param string $telephoneNumber
20982098
*
20992099
* @return self
21002100
*/

src/Adyen/Model/Checkout/MbwayDetails.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ public function getShopperEmail()
358358
/**
359359
* Sets shopperEmail
360360
*
361-
* @param string $shopperEmail
361+
* @param string $shopperEmail
362362
*
363363
* @return self
364364
*/
@@ -382,7 +382,7 @@ public function getTelephoneNumber()
382382
/**
383383
* Sets telephoneNumber
384384
*
385-
* @param string $telephoneNumber
385+
* @param string $telephoneNumber
386386
*
387387
* @return self
388388
*/

src/Adyen/Model/Checkout/ObjectSerializer.php

Lines changed: 4 additions & 2 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
}

src/Adyen/Model/Checkout/VippsDetails.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ public function getTelephoneNumber()
412412
/**
413413
* Sets telephoneNumber
414414
*
415-
* @param string $telephoneNumber
415+
* @param string $telephoneNumber
416416
*
417417
* @return self
418418
*/

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)