Skip to content

Commit 4ba5f5e

Browse files
committed
Format code
1 parent 5ac139a commit 4ba5f5e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Adyen/Model/LegalEntityManagement/ObjectSerializer.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n
8181
}
8282
}
8383
} else {
84-
foreach($data as $property => $value) {
84+
foreach ($data as $property => $value) {
8585
$values[$property] = self::sanitizeForSerialization($value);
8686
}
8787
}
@@ -117,7 +117,9 @@ public static function sanitizeFilename($filename)
117117
*/
118118
public static function sanitizeTimestamp($timestamp)
119119
{
120-
if (!is_string($timestamp)) return $timestamp;
120+
if (!is_string($timestamp)) {
121+
return $timestamp;
122+
}
121123

122124
return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp);
123125
}

0 commit comments

Comments
 (0)