Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ PHP NEWS
?? ??? ????, PHP 8.2.0beta3

- Random:
. Fixed bug GH-9235 (non-existant $sequence parameter in stub for
PcgOneseq128XslRr64::__construct()). (timwolla)
. Removed redundant RuntimeExceptions from Randomizer methods. The
exceptions thrown by the engines will be exposed directly. (timwolla)

Expand Down
2 changes: 1 addition & 1 deletion ext/random/random.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function __debugInfo(): array {}
*/
final class PcgOneseq128XslRr64 implements \Random\Engine
{
public function __construct(string|int|null $seed = null, string|int $sequence = 0) {}
public function __construct(string|int|null $seed = null) {}

/** @implementation-alias Random\Engine\Mt19937::generate */
public function generate(): string {}
Expand Down
7 changes: 2 additions & 5 deletions ext/random/random_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.