Skip to content

Commit

Permalink
Fixed wp_rand() parameters not being marked as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed May 19, 2022
1 parent 21a6d96 commit 75f2c4a
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 75f2c4a

Please sign in to comment.