Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phan: Update wpcom stubs #39795

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .phan/stubs/wpcom-stubs.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
{
}
/**
Expand Down Expand Up @@ -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)
{
}
/**
Expand Down
Loading