Skip to content

Commit b0b48d5

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

37 files changed

+69
-70
lines changed

src/Adyen/Model/BalancePlatform/BalanceWebhookSetting.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\BalancePlatform;
17+
1718
use Adyen\Model\BalancePlatform\ObjectSerializer;
1819

1920
/**

src/Adyen/Model/BalancePlatform/CapabilitySettings.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ public function getAmountPerIndustry()
355355
/**
356356
* Sets amountPerIndustry
357357
*
358-
* @param array<string,\Adyen\Model\BalancePlatform\Amount>|null $amountPerIndustry
358+
* @param array<string,\Adyen\Model\BalancePlatform\Amount>|null $amountPerIndustry
359359
*
360360
* @return self
361361
*/
@@ -379,7 +379,7 @@ public function getAuthorizedCardUsers()
379379
/**
380380
* Sets authorizedCardUsers
381381
*
382-
* @param bool|null $authorizedCardUsers
382+
* @param bool|null $authorizedCardUsers
383383
*
384384
* @return self
385385
*/
@@ -403,7 +403,7 @@ public function getFundingSource()
403403
/**
404404
* Sets fundingSource
405405
*
406-
* @param string[]|null $fundingSource
406+
* @param string[]|null $fundingSource
407407
*
408408
* @return self
409409
*/
@@ -436,7 +436,7 @@ public function getInterval()
436436
/**
437437
* Sets interval
438438
*
439-
* @param string|null $interval
439+
* @param string|null $interval
440440
*
441441
* @return self
442442
*/

src/Adyen/Model/BalancePlatform/LimitStatus.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\BalancePlatform;
17+
1718
use Adyen\Model\BalancePlatform\ObjectSerializer;
1819

1920
/**
@@ -50,4 +51,3 @@ public static function getAllowableEnumValues()
5051
];
5152
}
5253
}
53-

src/Adyen/Model/BalancePlatform/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/BalancePlatform/ScaExemption.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\BalancePlatform;
17+
1718
use Adyen\Model\BalancePlatform\ObjectSerializer;
1819

1920
/**
@@ -53,4 +54,3 @@ public static function getAllowableEnumValues()
5354
];
5455
}
5556
}
56-

src/Adyen/Model/BalancePlatform/ScaStatus.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\BalancePlatform;
17+
1718
use Adyen\Model\BalancePlatform\ObjectSerializer;
1819

1920
/**
@@ -47,4 +48,3 @@ public static function getAllowableEnumValues()
4748
];
4849
}
4950
}
50-

src/Adyen/Model/BalancePlatform/Scope.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\BalancePlatform;
17+
1718
use Adyen\Model\BalancePlatform\ObjectSerializer;
1819

1920
/**
@@ -44,4 +45,3 @@ public static function getAllowableEnumValues()
4445
];
4546
}
4647
}
47-

src/Adyen/Model/BalancePlatform/SettingType.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\BalancePlatform;
17+
1718
use Adyen\Model\BalancePlatform\ObjectSerializer;
1819

1920
/**
@@ -39,4 +40,3 @@ public static function getAllowableEnumValues()
3940
];
4041
}
4142
}
42-

src/Adyen/Model/BalancePlatform/TransferType.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\BalancePlatform;
17+
1718
use Adyen\Model\BalancePlatform\ObjectSerializer;
1819

1920
/**
@@ -44,4 +45,3 @@ public static function getAllowableEnumValues()
4445
];
4546
}
4647
}
47-

src/Adyen/Model/DataProtection/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)