Skip to content

Commit

Permalink
Merge branch 'trunk' into add/social-media-sharing-4-wpcom
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk committed Feb 11, 2025
2 parents f73df5d + 0b49d49 commit b30755a
Show file tree
Hide file tree
Showing 89 changed files with 1,375 additions and 930 deletions.
10 changes: 5 additions & 5 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 57b033879305add761d5f6f4ae7858580a986d8e.
* Stubs automatically generated from WordPress.com commit fc55646392f8826e351c4d50f5cf491f82209a0f.
*/

namespace {
Expand Down Expand Up @@ -764,7 +764,7 @@ public function __construct(\Blog_Subscriber $subscriber, $use_wp = \true, $loca
* @param mixed $my_posts
* @return void
**/
public function send_post($my_posts, \Blog_Subscription $subscription = \null, $extra_text = '', $automattcher = \false)
public function send_post($my_posts, ?\Blog_Subscription $subscription = \null, $extra_text = '', $automattcher = \false)
{
}
}
Expand Down Expand Up @@ -1504,23 +1504,23 @@ public static function dismiss($id, $feature_class)
* @param int|null $blog_id
* @return array
*/
function get_newsletter_categories(int $blog_id = null): array
function get_newsletter_categories(?int $blog_id = null): array
{
}
/**
* @param int|null $blog_id
* @param array $term_ids
* @return array
*/
function get_blog_subscription_counts_per_category(int $blog_id = null, array $term_ids = []): array
function get_blog_subscription_counts_per_category(?int $blog_id = null, array $term_ids = []): array
{
}
/**
* @param int|null $blog_id
* @param array|null $post_term_ids
* @return int
*/
function get_blog_subscriptions_aggregate_count(int $blog_id = null, $post_term_ids = []): int
function get_blog_subscriptions_aggregate_count(?int $blog_id = null, $post_term_ids = []): int
{
}
}
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b30755a

Please sign in to comment.