Skip to content

Commit

Permalink
Add what the array consists of in doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Swanand01 committed May 15, 2024
1 parent 55ca62f commit 5b558a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/Admin/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, array<int, array<string, mixed>>> An array containing prerendering rules.
* @since 1.37.0
*/
public function add_speculation_rules(): array {
Expand Down
2 changes: 1 addition & 1 deletion includes/Speculation_Rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, array<int, array<string, mixed>>> An array containing prerendering rules.
*/
public function get_rules(): array {
$rules = [];
Expand Down

0 comments on commit 5b558a6

Please sign in to comment.