Skip to content

Commit ff86211

Browse files
AdyenAutomationBotAdyenAutomationBot
authored andcommitted
style(fmt): code formatted
1 parent 7a457dd commit ff86211

18 files changed

+52
-33
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
@@ -2101,7 +2101,7 @@ public function getShopperEmail()
21012101
/**
21022102
* Sets shopperEmail
21032103
*
2104-
* @param string $shopperEmail
2104+
* @param string $shopperEmail
21052105
*
21062106
* @return self
21072107
*/
@@ -2125,7 +2125,7 @@ public function getTelephoneNumber()
21252125
/**
21262126
* Sets telephoneNumber
21272127
*
2128-
* @param string $telephoneNumber
2128+
* @param string $telephoneNumber
21292129
*
21302130
* @return self
21312131
*/

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/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
@@ -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/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)