mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 06:37:06 +00:00
Docs: Remove an empty line between @param and @return tags in some newly added REST API methods, per the documentation standards.
Follow-up to [48242], [49925], [51003], [51021]. See #52628, #53461. git-svn-id: https://develop.svn.wordpress.org/trunk@51289 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -268,7 +268,6 @@ class WP_REST_Sidebars_Controller extends WP_REST_Controller {
|
||||
*
|
||||
* @param array $raw_sidebar Sidebar instance.
|
||||
* @param WP_REST_Request $request Full details about the request.
|
||||
*
|
||||
* @return WP_REST_Response Prepared response object.
|
||||
*/
|
||||
public function prepare_item_for_response( $raw_sidebar, $request ) {
|
||||
@@ -344,7 +343,6 @@ class WP_REST_Sidebars_Controller extends WP_REST_Controller {
|
||||
* @since 5.8.0
|
||||
*
|
||||
* @param array $sidebar Sidebar.
|
||||
*
|
||||
* @return array Links for the given widget.
|
||||
*/
|
||||
protected function prepare_links( $sidebar ) {
|
||||
|
||||
Reference in New Issue
Block a user