Skip to content

Commit

Permalink
Merge pull request #60 from skaut/wp_rand_optional_params
Browse files Browse the repository at this point in the history
Fixed `wp_rand()` parameters not being marked as optional
  • Loading branch information
marekdedic authored May 19, 2022
2 parents 21a6d96 + 75f2c4a commit 64f81a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/WordPress/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ function wp_post_revision_title( $revision, $link = false ) {
*
* @return int
*/
function wp_rand( $min, $max ) {
function wp_rand( $min = 0, $max = 0 ) {
}

/**
Expand Down

0 comments on commit 64f81a4

Please sign in to comment.