Skip to content

Commit 88b3018

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: [String] ByteString::fromRandom() defaults to base58 characters
2 parents 1b5d67f + b83cfa0 commit 88b3018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

string.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ There are also some specialized constructors::
125125

126126
// ByteString can create a random string of the given length
127127
$foo = ByteString::fromRandom(12);
128-
// by default, random strings use A-Za-z0-9 characters; you can restrict
128+
// by default, random strings use base58 characters; you can set
129129
// the characters to use with the second optional argument
130130
$foo = ByteString::fromRandom(6, 'AEIOU0123456789');
131131
$foo = ByteString::fromRandom(10, 'qwertyuiop');

0 commit comments

Comments
 (0)