Commit 94ccee0787 for wordpress.org

commit 94ccee078746aa29527894917b112f3fe30511ed
Author: Weston Ruter <weston@xwp.co>
Date:   Sun Nov 23 05:08:29 2025 +0000

    Docs: Fix phpdoc types for `WP_Speculation_Rules` members.

    What was previously `mixed` is actually a speculation rule which can be more accurately be typed as `array<string, mixed>`. Additionally, the return value of `jsonSerialize` is fixed to indicate it returns an array of lists as opposed an array of associative arrays.

    Developed in https://github.com/WordPress/wordpress-develop/pull/8946

    Follow-up to [59837].

    Props justlevine, johnbillion, westonruter.
    See #64238, #63268, #62503.

    Built from https://develop.svn.wordpress.org/trunk@61280


    git-svn-id: http://core.svn.wordpress.org/trunk@60592 1a063a9b-81f0-0310-95a4-ce76da25c4cd

diff --git a/wp-includes/class-wp-speculation-rules.php b/wp-includes/class-wp-speculation-rules.php
index 8d23eefe12..bca9e28a38 100644
--- a/wp-includes/class-wp-speculation-rules.php
+++ b/wp-includes/class-wp-speculation-rules.php
@@ -21,7 +21,7 @@ final class WP_Speculation_Rules implements JsonSerializable {
 	 * Every `$rules` value is a map of `$id => $rule` pairs.
 	 *
 	 * @since 6.8.0
-	 * @var array<string, array<string, mixed>>
+	 * @var array<string, array<string, array<string, mixed>>>
 	 */
 	private $rules_by_mode = array();

@@ -230,7 +230,7 @@ final class WP_Speculation_Rules implements JsonSerializable {
 	 *
 	 * @since 6.8.0
 	 *
-	 * @return array<string, array<string, mixed>> Speculation rules data.
+	 * @return array<string, array<int, array<string, mixed>>> Speculation rules data.
 	 */
 	#[ReturnTypeWillChange]
 	public function jsonSerialize() {
diff --git a/wp-includes/version.php b/wp-includes/version.php
index f8ea1c1984..496f993c27 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.0-alpha-61279';
+$wp_version = '7.0-alpha-61280';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.