Skip to content

Commit 5e77c18

Browse files
AdyenAutomationBotAdyenAutomationBot
authored andcommitted
style(fmt): code formatted
1 parent 3138401 commit 5e77c18

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
@@ -2160,7 +2160,7 @@ public function getShopperEmail()
21602160
/**
21612161
* Sets shopperEmail
21622162
*
2163-
* @param string $shopperEmail
2163+
* @param string $shopperEmail
21642164
*
21652165
* @return self
21662166
*/
@@ -2184,7 +2184,7 @@ public function getTelephoneNumber()
21842184
/**
21852185
* Sets telephoneNumber
21862186
*
2187-
* @param string $telephoneNumber
2187+
* @param string $telephoneNumber
21882188
*
21892189
* @return self
21902190
*/

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)