You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
random: split Randomizer::getInt() without argument to Randomizer::nextInt()
Since argument overloading is not safe for reflection, the method needed
to be split appropriately.
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
ClosesGH-9057.
if (\strlen($randomizer->getBytes($length)) !== $length) {
42
-
die($engine::class . ': getBytes: failure.');
53
+
die($engine::class . ': getBytes: failure');
43
54
}
44
55
}
45
56
@@ -53,14 +64,14 @@ foreach ($engines as $engine) {
53
64
}
54
65
}
55
66
56
-
die($engine::class . ': shuffleArray: failure.');
67
+
die($engine::class . ': shuffleArray: failure');
57
68
})();
58
69
59
70
// shuffleBytes
60
71
$string = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.';
0 commit comments