WordPress.org

Make WordPress Core

Opened 6 months ago

Closed 6 months ago

#40973 closed defect (bug) (fixed)

Multiple @return parameter in doc part

Reported by: ketuchetan Owned by: SergeyBiryukov
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.8
Component: Administration Keywords: has-patch
Focuses: docs Cc:

Description

/**
	 * Builds an array of args to use in an HTTP request to the w.org Events API.
	 *
	 * @access protected
	 * @since 4.8.0
	 *
	 * @param  string $search   Optional. City search string. Default empty string.
	 * @param  string $timezone Optional. Timezone string. Default empty string.
	 * @return @return array The request args.
	 */

Attachments (1)

40973.patch (640 bytes) - added by ketuchetan 6 months ago.

Download all attachments as: .zip

Change History (5)

@ketuchetan
6 months ago

#1 @ketuchetan
6 months ago

  • Keywords has-patch added

#2 @ketuchetan
6 months ago

  • Focuses docs added

#3 @SergeyBiryukov
6 months ago

  • Component changed from General to Administration
  • Milestone changed from Awaiting Review to 4.9
  • Owner set to SergeyBiryukov
  • Status changed from new to accepted

#4 @SergeyBiryukov
6 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 40895:

Docs: Remove duplicate @return keyword in WP_Community_Events::get_request_args.

Props ketuchetan.
Fixes #40973.

Note: See TracTickets for help on using tickets.