Skip to content

Commit 5f250ae

Browse files
committed
reformat
1 parent 7e7b60f commit 5f250ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/UuidBase58.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ public static function decode($info) {
4040
$bitcoin = new Base58Encoder();
4141
$decodeInput = (string)bin2hex($bitcoin->decode($info));
4242
return preg_replace(
43-
"/(\w{8})(\w{4})(\w{4})(\w{4})(\w{12})/i", "$1-$2-$3-$4-$5", $decodeInput);
43+
"/(\w{8})(\w{4})(\w{4})(\w{4})(\w{12})/i",
44+
"$1-$2-$3-$4-$5",
45+
$decodeInput
46+
);
4447
}
4548
public static function id() {
4649
return self::encode(Uuid::uuid4());

0 commit comments

Comments
 (0)