mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user