diff --git a/functionMap.php b/functionMap.php index 8e85725..8fd0de8 100644 --- a/functionMap.php +++ b/functionMap.php @@ -219,4 +219,5 @@ 'wp_nonce_url' => [null, 'action' => '-1|string'], 'wp_nonce_field' => [null, 'action' => '-1|string'], 'did_action' => ['int<0, max>'], + 'get_current_blog_id' => ['int<0, max>'], ]; diff --git a/wordpress-stubs.php b/wordpress-stubs.php index 361bbbf..fa6b600 100644 --- a/wordpress-stubs.php +++ b/wordpress-stubs.php @@ -121165,6 +121165,7 @@ function absint($maybeint) * @global int $blog_id * * @return int Site ID. + * @phpstan-return int<0, max> */ function get_current_blog_id() {