We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d598d5 + 5cd019c commit f082ca2Copy full SHA for f082ca2
tests/data/apply_filters.php
@@ -169,3 +169,21 @@
169
/** This filter is documented in foo.php */
170
$value = apply_filters('foo', 123);
171
assertType('mixed', $value);
172
+
173
+/**
174
+ * Return type for `apply_filters_ref_array()`.
175
+ *
176
+ * @param string $foo Hello.
177
+ * @param int $bar World.
178
+ */
179
+$value = apply_filters_ref_array('foo', ['Hello', 123]);
180
+assertType('string', $value);
181
182
183
+ * Return type for `apply_filters_deprecated()`.
184
185
186
+ * @param bool $bar World.
187
188
+$value = apply_filters_deprecated('foo', 'Hello', true);
189
0 commit comments