Skip to content

Commit c07eade

Browse files
matticbotPhabricator Bot
and
Phabricator Bot
authored
phan: Update wpcom stubs (#41016)
Co-authored-by: Phabricator Bot <phabricator@automattic.com>
1 parent 84f924b commit c07eade

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.phan/stubs/wpcom-stubs.php

+22-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* `bin/teamcity-builds/jetpack-stubs/stub-defs.php` and regenerate the stubs
55
* by triggering the Jetpack Staging → Update WPCOM Stubs job in TeamCity.
66
*
7-
* Stubs automatically generated from WordPress.com commit 27c49bf2f318cd2fb105e5bd9719a910def72a53.
7+
* Stubs automatically generated from WordPress.com commit b97a8d79ff4f32395c77389fb22c900517a9d1a1.
88
*/
99

1010
namespace {
@@ -109,6 +109,9 @@ function __construct()
109109
public function republicize_post($post_id, $message, $skip_connections, $check_feature = \false, $sync = \true, $_user_id = \null)
110110
{
111111
}
112+
public function get_all_connections_for_blog_id($_blog_id = \false, $format = 'complete')
113+
{
114+
}
112115
}
113116
/**
114117
* @param int $blog_id
@@ -461,6 +464,24 @@ public static function filter_blog($blog_id, $filters)
461464
{
462465
}
463466
}
467+
class Social_Connections_Rest_Helper
468+
{
469+
/**
470+
* @return Jetpack_Social_Connections
471+
*/
472+
public static function init()
473+
{
474+
}
475+
public function delete_publicize_connection($publicize_connection_id, $blog_id = \false)
476+
{
477+
}
478+
public function create_publicize_connection($input)
479+
{
480+
}
481+
public function update_connection($publicize_connection_id, $input, $blog_id = \false)
482+
{
483+
}
484+
}
464485
/**
465486
* @param string|int|WP_User $identity
466487
* @param string $event_name

0 commit comments

Comments
 (0)