From 54248a298fe8f223aeaf2555dce8f6d2e7ed327a Mon Sep 17 00:00:00 2001 From: Phabricator Bot Date: Sun, 20 Oct 2024 00:25:46 +0000 Subject: [PATCH] phan: Update wpcom stubs --- .phan/stubs/wpcom-stubs.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.phan/stubs/wpcom-stubs.php b/.phan/stubs/wpcom-stubs.php index cbd51c2605c21..a2ebf26f7fcb8 100644 --- a/.phan/stubs/wpcom-stubs.php +++ b/.phan/stubs/wpcom-stubs.php @@ -4,7 +4,7 @@ * `bin/teamcity-builds/jetpack-stubs/stub-defs.php` and regenerate the stubs * by triggering the Jetpack Staging → Update WPCOM Stubs job in TeamCity. * - * Stubs automatically generated from WordPress.com commit 2ed424b4493f3450b67bb248706d6e29170e6042. + * Stubs automatically generated from WordPress.com commit 4fd96546151f08483e92c0807b89830093fc1aee. */ namespace { @@ -548,7 +548,7 @@ function is_automattic($blog_id = \null) { } /** - * @param int|null $blog_id + * @param int|string|null $blog_id * @return bool */ function wpcom_is_automattic_p2_site($blog_id = \null) @@ -716,7 +716,7 @@ function is_simple_site_redirect($blog_id = 0) } class Subscription_Mailer extends \WordPressMailer { - public function __construct(\Blog_Subscriber $subscriber, $use_wp = \true) + public function __construct(\Blog_Subscriber $subscriber, $use_wp = \true, $locale_type = self::USER_LOCALE) { } /** @@ -1058,7 +1058,7 @@ function wpcom_fetch_subs_counts($include_paid_subscribers = \false) function wpcom_is_child_theme() { } - function queue_publish_post($post_id, $post = \null) + function queue_publish_post($post_id, $post = \null, $old_post_status = \null) { } /**