Skip to content
Open
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
5 changes: 3 additions & 2 deletions ext/random/random.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ function mt_srand(?int $seed = null, int $mode = MT_RAND_MT19937): void {}
/** @alias mt_srand */
function srand(?int $seed = null, int $mode = MT_RAND_MT19937): void {}

function rand(int $min = UNKNOWN, int $max = UNKNOWN): int {}

function mt_rand(int $min = UNKNOWN, int $max = UNKNOWN): int {}

/* @alias mt_rand */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also not a proper docblock (missing asterisk). I don't think this had an effect based on the arginfo diff, otherwise CI should hopefully have caught it.

function rand(int $min = UNKNOWN, int $max = UNKNOWN): int {}

/** @compile-time-eval */
function mt_getrandmax(): int {}

Expand Down
10 changes: 5 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.