Skip to content

Commit

Permalink
phan: Update wpcom stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
Phabricator Bot committed Jan 17, 2025
1 parent 486df0a commit 416e9e4
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .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 b97a8d79ff4f32395c77389fb22c900517a9d1a1.
* Stubs automatically generated from WordPress.com commit c22dbf3bcf2334f7010cf491a7817654b95c54fe.
*/

namespace {
Expand Down Expand Up @@ -252,6 +252,18 @@ function header_js()
function global_css()
{
}
class WPCOM_External_Connections
{
/**
* @return WPCOM_External_Connections
*/
static function init()
{
}
public function get_external_services_list($type = \false, $blog_id = \false)
{
}
}
class WPCOM_Google_Sheets_Helper
{
/**
Expand Down Expand Up @@ -1451,6 +1463,14 @@ function prompt_without_blocks($prompt_html)
function assign_current_user(string $experiment_name): ?string
{
}
/**
* @param string $experiment_name
* @param \WP_User $user
* @return string|null
*/
function assign_given_user(string $experiment_name, \WP_User $user): ?string
{
}
}
namespace JITM {
class Engine
Expand Down

0 comments on commit 416e9e4

Please sign in to comment.