Skip to content

Commit 3d30d90

Browse files
AdyenAutomationBotAdyenAutomationBot
authored andcommitted
style(fmt): code formatted
1 parent f3ab4f5 commit 3d30d90

30 files changed

+61
-59
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/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/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/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
}

src/Adyen/Model/LegalEntityManagement/Attachment.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public function setContent($content)
332332
* Gets contentType
333333
*
334334
* @return string|null
335-
* @deprecated since Legal Entity Management API v1.
335+
* @deprecated since Legal Entity Management API v1.
336336
*/
337337
public function getContentType()
338338
{
@@ -345,7 +345,7 @@ public function getContentType()
345345
* @param string|null $contentType The file format. Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**.
346346
*
347347
* @return self
348-
* @deprecated since Legal Entity Management API v1.
348+
* @deprecated since Legal Entity Management API v1.
349349
*/
350350
public function setContentType($contentType)
351351
{
@@ -358,7 +358,7 @@ public function setContentType($contentType)
358358
* Gets filename
359359
*
360360
* @return string|null
361-
* @deprecated since Legal Entity Management API v1.
361+
* @deprecated since Legal Entity Management API v1.
362362
*/
363363
public function getFilename()
364364
{
@@ -371,7 +371,7 @@ public function getFilename()
371371
* @param string|null $filename The name of the file including the file extension.
372372
*
373373
* @return self
374-
* @deprecated since Legal Entity Management API v1.
374+
* @deprecated since Legal Entity Management API v1.
375375
*/
376376
public function setFilename($filename)
377377
{

src/Adyen/Model/LegalEntityManagement/BankAccountInfo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ public function setAccountIdentification($accountIdentification)
329329
* Gets accountType
330330
*
331331
* @return string|null
332-
* @deprecated since Legal Entity Management API v2.
332+
* @deprecated since Legal Entity Management API v2.
333333
*/
334334
public function getAccountType()
335335
{
@@ -342,7 +342,7 @@ public function getAccountType()
342342
* @param string|null $accountType The type of bank account.
343343
*
344344
* @return self
345-
* @deprecated since Legal Entity Management API v2.
345+
* @deprecated since Legal Entity Management API v2.
346346
*/
347347
public function setAccountType($accountType)
348348
{

src/Adyen/Model/LegalEntityManagement/Document.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ public function setDescription($description)
520520
* Gets expiryDate
521521
*
522522
* @return string|null
523-
* @deprecated since Legal Entity Management API v1.
523+
* @deprecated since Legal Entity Management API v1.
524524
*/
525525
public function getExpiryDate()
526526
{
@@ -533,7 +533,7 @@ public function getExpiryDate()
533533
* @param string|null $expiryDate The expiry date of the document, in YYYY-MM-DD format.
534534
*
535535
* @return self
536-
* @deprecated since Legal Entity Management API v1.
536+
* @deprecated since Legal Entity Management API v1.
537537
*/
538538
public function setExpiryDate($expiryDate)
539539
{
@@ -594,7 +594,7 @@ public function setId($id)
594594
* Gets issuerCountry
595595
*
596596
* @return string|null
597-
* @deprecated since Legal Entity Management API v1.
597+
* @deprecated since Legal Entity Management API v1.
598598
*/
599599
public function getIssuerCountry()
600600
{
@@ -607,7 +607,7 @@ public function getIssuerCountry()
607607
* @param string|null $issuerCountry The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**.
608608
*
609609
* @return self
610-
* @deprecated since Legal Entity Management API v1.
610+
* @deprecated since Legal Entity Management API v1.
611611
*/
612612
public function setIssuerCountry($issuerCountry)
613613
{
@@ -620,7 +620,7 @@ public function setIssuerCountry($issuerCountry)
620620
* Gets issuerState
621621
*
622622
* @return string|null
623-
* @deprecated since Legal Entity Management API v1.
623+
* @deprecated since Legal Entity Management API v1.
624624
*/
625625
public function getIssuerState()
626626
{
@@ -633,7 +633,7 @@ public function getIssuerState()
633633
* @param string|null $issuerState The state or province where the document was issued (AU only).
634634
*
635635
* @return self
636-
* @deprecated since Legal Entity Management API v1.
636+
* @deprecated since Legal Entity Management API v1.
637637
*/
638638
public function setIssuerState($issuerState)
639639
{

src/Adyen/Model/LegalEntityManagement/IdentificationData.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ public function setExpiryDate($expiryDate)
397397
* Gets issuerCountry
398398
*
399399
* @return string|null
400-
* @deprecated since Legal Entity Management API v1.
400+
* @deprecated since Legal Entity Management API v1.
401401
*/
402402
public function getIssuerCountry()
403403
{
@@ -410,7 +410,7 @@ public function getIssuerCountry()
410410
* @param string|null $issuerCountry The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**.
411411
*
412412
* @return self
413-
* @deprecated since Legal Entity Management API v1.
413+
* @deprecated since Legal Entity Management API v1.
414414
*/
415415
public function setIssuerCountry($issuerCountry)
416416
{

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