From f6f02a327f4e56b2c1dd587301103054502f88c7 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 2 Apr 2019 22:21:19 +0000 Subject: [PATCH] Docs: Remove an empty line between `@param` and `@return` in the tests added in [45101], per documentation coding standards. See #45029. git-svn-id: https://develop.svn.wordpress.org/trunk@45103 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/widgets/media-audio-widget.php | 1 - tests/phpunit/tests/widgets/media-image-widget.php | 2 +- tests/phpunit/tests/widgets/media-video-widget.php | 1 - tests/phpunit/tests/widgets/media-widget.php | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/phpunit/tests/widgets/media-audio-widget.php b/tests/phpunit/tests/widgets/media-audio-widget.php index 02779af2d8..aceba85711 100644 --- a/tests/phpunit/tests/widgets/media-audio-widget.php +++ b/tests/phpunit/tests/widgets/media-audio-widget.php @@ -74,7 +74,6 @@ class Test_WP_Widget_Media_Audio extends WP_UnitTestCase { * * @param array $schema Schema. * @param WP_Widget_Media_Audio $widget Widget. - * * @return array */ public function filter_instance_schema( $schema, $widget ) { diff --git a/tests/phpunit/tests/widgets/media-image-widget.php b/tests/phpunit/tests/widgets/media-image-widget.php index eed1fc35df..3d4eaaa21e 100644 --- a/tests/phpunit/tests/widgets/media-image-widget.php +++ b/tests/phpunit/tests/widgets/media-image-widget.php @@ -34,6 +34,7 @@ class Test_WP_Widget_Media_Image extends WP_UnitTestCase { function test_get_instance_schema() { $widget = new WP_Widget_Media_Image(); $schema = $widget->get_instance_schema(); + $this->assertEqualSets( array( 'alt', @@ -80,7 +81,6 @@ class Test_WP_Widget_Media_Image extends WP_UnitTestCase { * * @param array $schema Schema. * @param WP_Widget_Media_Image $widget Widget. - * * @return array */ public function filter_instance_schema( $schema, $widget ) { diff --git a/tests/phpunit/tests/widgets/media-video-widget.php b/tests/phpunit/tests/widgets/media-video-widget.php index d8961f1f9e..fa37e44c7b 100644 --- a/tests/phpunit/tests/widgets/media-video-widget.php +++ b/tests/phpunit/tests/widgets/media-video-widget.php @@ -75,7 +75,6 @@ class Test_WP_Widget_Media_Video extends WP_UnitTestCase { * * @param array $schema Schema. * @param WP_Widget_Media_Video $widget Widget. - * * @return array */ public function filter_instance_schema( $schema, $widget ) { diff --git a/tests/phpunit/tests/widgets/media-widget.php b/tests/phpunit/tests/widgets/media-widget.php index 4a828cdbc4..86a06eccc6 100644 --- a/tests/phpunit/tests/widgets/media-widget.php +++ b/tests/phpunit/tests/widgets/media-widget.php @@ -187,7 +187,6 @@ class Test_WP_Widget_Media extends WP_UnitTestCase { * * @param array $schema Schema. * @param WP_Widget_Media $widget Widget. - * * @return array */ public function filter_instance_schema( $schema, $widget ) {