From 895e2964b767c2c4c503019a1c8b69d21ccfa751 Mon Sep 17 00:00:00 2001 From: Phabricator Bot Date: Wed, 17 Jul 2024 13:07:26 +0000 Subject: [PATCH] phan: Update wpcom stubs --- .phan/stubs/wpcom-stubs.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.phan/stubs/wpcom-stubs.php b/.phan/stubs/wpcom-stubs.php index f11c07420896c..4d4b575b64433 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 d1bd2bf47aa20e287e8fdc56351f27ef986e6401. + * Stubs automatically generated from WordPress.com commit e4bff119a0ef34bd626cc234b0f63e0ad9de74a6. */ namespace { @@ -48,6 +48,9 @@ function localized_wpcom_url($url, $the_locale = \null) } class WPCom_Languages { + public static function localize_url($url, $the_locale = \null) + { + } } /** * @return bool @@ -185,6 +188,7 @@ function get_store_product($product_id, $meta = \null, $currency = \null, $blog_ class Store_Product { public $product_id; + public string $product_name; } /** * @property Store_Transaction $transaction