From 75f2c4aaf1d978f48628c71eeee7cc4470586d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Thu, 19 May 2022 10:37:03 +0200 Subject: [PATCH] Fixed wp_rand() parameters not being marked as optional --- stubs/WordPress/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/WordPress/functions.php b/stubs/WordPress/functions.php index 8218103..af9cf0d 100644 --- a/stubs/WordPress/functions.php +++ b/stubs/WordPress/functions.php @@ -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 ) { } /**