mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Remove @return void from various DocBlocks.
Per the documentation standards, it should not be used outside of the default bundled themes. Follow-up to [38767], [47055], [49697], [50956], [51003], [52069], [53255]. See #54729. git-svn-id: https://develop.svn.wordpress.org/trunk@53331 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -61,7 +61,6 @@ class Tests_Kses extends WP_UnitTestCase {
|
||||
*
|
||||
* @param string $string Test string for kses.
|
||||
* @param string $expect_string Expected result after passing through kses.
|
||||
* @return void
|
||||
*/
|
||||
public function test_wp_filter_post_kses_a( $string, $expect_string ) {
|
||||
global $allowedposttags;
|
||||
@@ -169,7 +168,6 @@ class Tests_Kses extends WP_UnitTestCase {
|
||||
*
|
||||
* @param string $string Test string for kses.
|
||||
* @param string $expect_string Expected result after passing through kses.
|
||||
* @return void
|
||||
*/
|
||||
public function test_wp_filter_post_kses_abbr( $string, $expect_string ) {
|
||||
global $allowedposttags;
|
||||
|
||||
@@ -1969,15 +1969,12 @@ class Tests_User_Query extends WP_UnitTestCase {
|
||||
|
||||
/**
|
||||
* @ticket 53177
|
||||
*
|
||||
* @param $field
|
||||
* @param $expected
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @dataProvider data_returning_fields
|
||||
*
|
||||
* @covers WP_User_Query::prepare_query
|
||||
*
|
||||
* @param $field
|
||||
* @param $expected
|
||||
*/
|
||||
public function test_returning_fields( $field, $expected_values ) {
|
||||
$q = new WP_User_Query(
|
||||
@@ -2101,8 +2098,6 @@ class Tests_User_Query extends WP_UnitTestCase {
|
||||
/**
|
||||
* @ticket 53177
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @covers WP_User_Query::prepare_query
|
||||
*/
|
||||
public function test_returning_field_user_registered() {
|
||||
|
||||
Reference in New Issue
Block a user