PluginProbe
Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More / 2.6.1
Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More v2.6.1
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.10 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 47 releases
← All changes | classes/Models/RuleEngine/Set.php +3 -3 2.0.12.6.1 View file →
@@ -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 }