Commit 9e2d045
committed
Docs: Fix phpdoc types for
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 #8946
Follow-up to [59837].
Props justlevine, johnbillion, westonruter.
See #64238, #63268, #62503.
git-svn-id: https://develop.svn.wordpress.org/trunk@61280 602fd350-edb4-49c9-b593-d223f7449a82WP_Speculation_Rules members.1 parent 539c2fc commit 9e2d045
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
0 commit comments