From 5b558a63c9592c295d6a85bc47d71c0d6a2ac8df Mon Sep 17 00:00:00 2001 From: Swanand01 Date: Wed, 15 May 2024 17:48:47 +0530 Subject: [PATCH] Add what the array consists of in doc comment --- includes/Admin/Dashboard.php | 2 +- includes/Speculation_Rules.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Admin/Dashboard.php b/includes/Admin/Dashboard.php index 5ad321c52c80..1709eeb9aa2b 100644 --- a/includes/Admin/Dashboard.php +++ b/includes/Admin/Dashboard.php @@ -579,7 +579,7 @@ public function display_link_to_dashboard(): void { /** * Add the Speculation Rules for the Dashboard. * - * @return array An array containing prerendering rules. + * @return array>> An array containing prerendering rules. * @since 1.37.0 */ public function add_speculation_rules(): array { diff --git a/includes/Speculation_Rules.php b/includes/Speculation_Rules.php index 5c1cab3353d2..fdbf76d713bb 100644 --- a/includes/Speculation_Rules.php +++ b/includes/Speculation_Rules.php @@ -61,7 +61,7 @@ public function register(): void { /** * Retrieves the prerendering rules for a specific page. * - * @return array An array containing prerendering rules. + * @return array>> An array containing prerendering rules. */ public function get_rules(): array { $rules = [];