Skip to content

Commit 210fd25

Browse files
dbuStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 1f1ca76 commit 210fd25

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/PHPCR/Util/UUIDHelper.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -46,25 +46,25 @@ public static function generateUUID()
4646
return sprintf(
4747
'%04x%04x-%04x-%04x-%04x-%04x%04x%04x',
4848
// 32 bits for "time_low"
49-
mt_rand(0, 0xffff),
50-
mt_rand(0, 0xffff),
49+
mt_rand(0, 0xFFFF),
50+
mt_rand(0, 0xFFFF),
5151

5252
// 16 bits for "time_mid"
53-
mt_rand(0, 0xffff),
53+
mt_rand(0, 0xFFFF),
5454

5555
// 16 bits for "time_hi_and_version",
5656
// four most significant bits holds version number 4
57-
mt_rand(0, 0x0fff) | 0x4000,
57+
mt_rand(0, 0x0FFF) | 0x4000,
5858

5959
// 16 bits, 8 bits for "clk_seq_hi_res",
6060
// 8 bits for "clk_seq_low",
6161
// two most significant bits holds zero and one for variant DCE1.1
62-
mt_rand(0, 0x3fff) | 0x8000,
62+
mt_rand(0, 0x3FFF) | 0x8000,
6363

6464
// 48 bits for "node"
65-
mt_rand(0, 0xffff),
66-
mt_rand(0, 0xffff),
67-
mt_rand(0, 0xffff)
65+
mt_rand(0, 0xFFFF),
66+
mt_rand(0, 0xFFFF),
67+
mt_rand(0, 0xFFFF)
6868
);
6969
}
7070
}

0 commit comments

Comments
 (0)