| @@ -38,9 +38,9 @@ | ||
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * Build a set. |
| 41 | 41 | * |
| 42 | - * @param array $set Set data. | |
| 42 | + * @param array{id:string,label:string,query:array<mixed>} $set Set data. | |
| 43 | 43 | */ |
| 44 | 44 | public function __construct( $set ) { |
| 45 | 45 | $set = wp_parse_args( $set, [ |
| 46 | 46 | 'id' => '', |
| @@ -73,9 +73,9 @@ | ||
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | 75 | * Get the check array for further post processing. |
| 76 | 76 | * |
| 77 | - * @return array Array of check values. | |
| 77 | + * @return array<bool|null|array<bool|null>> | |
| 78 | 78 | */ |
| 79 | 79 | public function get_checks() { |
| 80 | 80 | return $this->query->get_checks(); |
| 81 | 81 | } |
| @@ -84,9 +84,9 @@ | ||
| 84 | 84 | * Return the checks as an array of information. |
| 85 | 85 | * |
| 86 | 86 | * Useful for debugging. |
| 87 | 87 | * |
| 88 | - * @return array | |
| 88 | + * @return array<string,mixed> | |
| 89 | 89 | */ |
| 90 | 90 | public function get_check_info() { |
| 91 | 91 | return $this->query->get_check_info(); |
| 92 | 92 | } |