Skip to content

Commit 53aaae3

Browse files
AdyenAutomationBotAdyenAutomationBot
authored andcommitted
style(fmt): code formatted
1 parent 686e1f5 commit 53aaae3

18 files changed

+48
-29
lines changed

src/Adyen/Model/BinLookup/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/CheckoutPaymentMethod.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2166,7 +2166,7 @@ public function getShopperEmail()
21662166
/**
21672167
* Sets shopperEmail
21682168
*
2169-
* @param string $shopperEmail
2169+
* @param string $shopperEmail
21702170
*
21712171
* @return self
21722172
*/
@@ -2190,7 +2190,7 @@ public function getTelephoneNumber()
21902190
/**
21912191
* Sets telephoneNumber
21922192
*
2193-
* @param string $telephoneNumber
2193+
* @param string $telephoneNumber
21942194
*
21952195
* @return self
21962196
*/

src/Adyen/Model/Checkout/MbwayDetails.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ public function getShopperEmail()
389389
/**
390390
* Sets shopperEmail
391391
*
392-
* @param string $shopperEmail
392+
* @param string $shopperEmail
393393
*
394394
* @return self
395395
*/
@@ -413,7 +413,7 @@ public function getTelephoneNumber()
413413
/**
414414
* Sets telephoneNumber
415415
*
416-
* @param string $telephoneNumber
416+
* @param string $telephoneNumber
417417
*
418418
* @return self
419419
*/

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/PayToPaymentMethod.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515

1616
namespace Adyen\Model\Checkout;
17+
1718
use Adyen\Model\Checkout\ObjectSerializer;
1819

1920
/**

src/Adyen/Model/Checkout/Result.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515

1616
namespace Adyen\Model\Checkout;
17+
1718
use Adyen\Model\Checkout\ObjectSerializer;
1819

1920
/**
@@ -45,4 +46,3 @@ public static function getAllowableEnumValues()
4546
];
4647
}
4748
}
48-

src/Adyen/Model/Checkout/UPIPaymentMethod.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515

1616
namespace Adyen\Model\Checkout;
17+
1718
use Adyen\Model\Checkout\ObjectSerializer;
1819

1920
/**

src/Adyen/Model/Checkout/VippsDetails.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ public function getTelephoneNumber()
443443
/**
444444
* Sets telephoneNumber
445445
*
446-
* @param string $telephoneNumber
446+
* @param string $telephoneNumber
447447
*
448448
* @return self
449449
*/

src/Adyen/Model/Disputes/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/Payments/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
}

0 commit comments

Comments
 (0)