General: Remove discouraged @return void annotations.

Such `@return void` annotations must not be used in WordPress core's PHP code, except bundled themes, third-party libraries, and PHP compatibility shims.

Props isabel_brison, swissspidy.
Fixes #59619.


git-svn-id: https://develop.svn.wordpress.org/trunk@56943 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Felix Arntz
2023-10-16 15:15:14 +00:00
parent 14173bf50d
commit 1d006a0f57
9 changed files with 0 additions and 22 deletions

View File

@@ -300,7 +300,6 @@ class Tests_HtmlApi_WpHtmlProcessorBreadcrumbs extends WP_UnitTestCase {
* @param string $html HTML string with tags in it, one of which contains the "target" attribute.
* @param array $breadcrumbs Breadcrumbs of element with "target" attribute set.
* @param int $ignored_n Not used in this test but provided in the dataset for other tests.
* @return void
*/
public function test_reports_correct_breadcrumbs_for_html( $html, $breadcrumbs, $ignored_n ) {
$p = WP_HTML_Processor::create_fragment( $html );